imgui #10
@@ -42,8 +42,6 @@ public class Renderer implements Closeable {
|
|||||||
int renderTexture = GL30.glGenTextures();
|
int renderTexture = GL30.glGenTextures();
|
||||||
glBindTexture(GL_TEXTURE_2D, renderTexture);
|
glBindTexture(GL_TEXTURE_2D, renderTexture);
|
||||||
|
|
||||||
System.out.println(renderTexture);
|
|
||||||
|
|
||||||
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 800, 800, 0, GL_RGB, GL_UNSIGNED_BYTE, 0);
|
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 800, 800, 0, GL_RGB, GL_UNSIGNED_BYTE, 0);
|
||||||
|
|
||||||
GL30.glTexParameteri(GL_TEXTURE_2D, GL30.GL_TEXTURE_MAG_FILTER, GL30.GL_NEAREST);
|
GL30.glTexParameteri(GL_TEXTURE_2D, GL30.GL_TEXTURE_MAG_FILTER, GL30.GL_NEAREST);
|
||||||
|
|||||||
Reference in New Issue
Block a user