List of usage examples for org.lwjgl.opengl GL11 glGetTexParameteri
@NativeType("void") public static int glGetTexParameteri(@NativeType("GLenum") int target, @NativeType("GLenum") int pname)
From source file:de.kitsunealex.projectx.client.render.block.RenderHelper.java
License:Open Source License
protected int[] disableMipmap() { int min = GL11.glGetTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MIN_FILTER); int mag = GL11.glGetTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MAG_FILTER); GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MIN_FILTER, GL11.GL_NEAREST); GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MAG_FILTER, GL11.GL_NEAREST); return new int[] { min, mag }; }
From source file:tk.ivybits.engine.gl.GL.java
License:Open Source License
public static int glGetTexParameteri(int a, int b) { return GL11.glGetTexParameteri(a, b); }