[DEV] set game working
This commit is contained in:
parent
43ea0339f1
commit
f59e53e7a4
@ -133,7 +133,7 @@ public class ResourceTexture2 extends Resource {
|
||||
// Flush the data to send it at the openGl system
|
||||
public synchronized void flush() {
|
||||
// request to the manager to be call at the next update ...
|
||||
Log.verbose("Request UPDATE of Element");
|
||||
Log.error("Request UPDATE of Element");
|
||||
Resource.getManager().update(this);
|
||||
}
|
||||
|
||||
@ -183,7 +183,7 @@ public class ResourceTexture2 extends Resource {
|
||||
this.realImageSize = this.data.getSize();
|
||||
final Vector2i compatibilityHWSize = new Vector2i(Tools.nextP2(this.realImageSize.x()), Tools.nextP2(this.realImageSize.y()));
|
||||
if (!this.realImageSize.equals(compatibilityHWSize)) {
|
||||
Log.verbose("RESIZE Image for HArwareCompatibility:" + this.realImageSize + " => " + compatibilityHWSize);
|
||||
Log.warning("RESIZE Image for HArwareCompatibility:" + this.realImageSize + " => " + compatibilityHWSize);
|
||||
this.data.resize(compatibilityHWSize.x(), compatibilityHWSize.y());
|
||||
}
|
||||
flush();
|
||||
@ -224,7 +224,7 @@ public class ResourceTexture2 extends Resource {
|
||||
|
||||
@Override
|
||||
public synchronized boolean updateContext() {
|
||||
Log.verbose("updateContext [START]");
|
||||
Log.error("updateContext [START]");
|
||||
//final Steady tic = Steady.now();
|
||||
/*
|
||||
* TODO : use unlockable synchronized ... if (lock.tryLock() == false) { //Lock
|
||||
|
Loading…
x
Reference in New Issue
Block a user