Support libgdx 1.9.11
This commit is contained in:
parent
f7bdc420bf
commit
fb94675868
@ -580,7 +580,7 @@ public class GdxGL extends GwtGL20 implements GL {
|
|||||||
return glGetActiveAttrib(program,
|
return glGetActiveAttrib(program,
|
||||||
index,
|
index,
|
||||||
size,
|
size,
|
||||||
type);
|
(IntBuffer)type);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -588,7 +588,7 @@ public class GdxGL extends GwtGL20 implements GL {
|
|||||||
return glGetActiveUniform(program,
|
return glGetActiveUniform(program,
|
||||||
index,
|
index,
|
||||||
size,
|
size,
|
||||||
type);
|
(IntBuffer)type);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -179,7 +179,7 @@ public abstract class GwtApplication implements EntryPoint, Application {
|
|||||||
lastWidth = graphics.getWidth();
|
lastWidth = graphics.getWidth();
|
||||||
lastHeight = graphics.getHeight();
|
lastHeight = graphics.getHeight();
|
||||||
Gdx.app = this;
|
Gdx.app = this;
|
||||||
Gdx.audio = new GwtAudio();
|
Gdx.audio = new DefaultGwtAudio();
|
||||||
Gdx.graphics = graphics;
|
Gdx.graphics = graphics;
|
||||||
Gdx.gl20 = graphics.getGL20();
|
Gdx.gl20 = graphics.getGL20();
|
||||||
Gdx.gl = Gdx.gl20;
|
Gdx.gl = Gdx.gl20;
|
||||||
|
@ -184,6 +184,26 @@ public class GwtGraphics implements Graphics {
|
|||||||
return canvas.getHeight();
|
return canvas.getHeight();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getSafeInsetLeft() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getSafeInsetTop() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getSafeInsetBottom() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getSafeInsetRight() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public long getFrameId() {
|
public long getFrameId() {
|
||||||
return frameId;
|
return frameId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user