From 16cc66d0412356a8bb40684869f5ba92c9a0bdac Mon Sep 17 00:00:00 2001 From: Chris Sarbora Date: Wed, 7 Aug 2024 01:06:06 -0500 Subject: [PATCH] use GL_RGBA8 instead of invalid GL_RGB --- renderer/HardwareOpenGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer/HardwareOpenGL.cpp b/renderer/HardwareOpenGL.cpp index 4547e3caf..cfa6d3ff8 100644 --- a/renderer/HardwareOpenGL.cpp +++ b/renderer/HardwareOpenGL.cpp @@ -496,7 +496,7 @@ int opengl_Setup(oeApplication *app, int *width, int *height) { dglGenRenderbuffers(1, &GOpenGLRBOColor); dglBindRenderbuffer(GL_RENDERBUFFER, GOpenGLRBOColor); - dglRenderbufferStorage(GL_RENDERBUFFER, GL_RGB, w, h); + dglRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, w, h); dglFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, GOpenGLRBOColor); dglGenRenderbuffers(1, &GOpenGLRBODepth);