List of usage examples for com.google.gwt.webgl.client WebGLRenderingContext pixelStorei
public final native void pixelStorei(int pname, int param) ;
From source file:org.oscim.gdx.client.GdxGL.java
License:Apache License
public GdxGL(WebGLRenderingContext gl) { super(gl); gl.pixelStorei(WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL, 1); this.gl = gl; }
From source file:org.oscim.gdx.client.GwtGLAdapter.java
License:Open Source License
public GwtGLAdapter(WebGLRenderingContext gl) { super(gl);//from ww w.j av a 2 s . com gl.pixelStorei(WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL, 1); this.gl = gl; }