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,
|
||||
index,
|
||||
size,
|
||||
type);
|
||||
(IntBuffer)type);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -588,7 +588,7 @@ public class GdxGL extends GwtGL20 implements GL {
|
||||
return glGetActiveUniform(program,
|
||||
index,
|
||||
size,
|
||||
type);
|
||||
(IntBuffer)type);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -179,7 +179,7 @@ public abstract class GwtApplication implements EntryPoint, Application {
|
||||
lastWidth = graphics.getWidth();
|
||||
lastHeight = graphics.getHeight();
|
||||
Gdx.app = this;
|
||||
Gdx.audio = new GwtAudio();
|
||||
Gdx.audio = new DefaultGwtAudio();
|
||||
Gdx.graphics = graphics;
|
||||
Gdx.gl20 = graphics.getGL20();
|
||||
Gdx.gl = Gdx.gl20;
|
||||
|
@ -184,6 +184,26 @@ public class GwtGraphics implements Graphics {
|
||||
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
|
||||
public long getFrameId() {
|
||||
return frameId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user