imgui #10

Merged
l merged 4 commits from imgui into 3dunstable 2025-05-16 13:35:38 +00:00
Showing only changes of commit c29f2657f1 - Show all commits

View File

@@ -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);