#Only background is rendered when using DRM render node

10 messages · Page 1 of 1 (latest)

stuck mauve
#

Hi, anyone wanna look over this OpenGL context initialization code and see if there's anything wrong with it?

stuck mauve
#

here's output.bmp when bool useGLFWContext = true;

#

and when it's false

#

as is apparent, the triangle isn't visible when I initialize OpenGL with EGL to use a DRM render node

#

but it is visible when I initialize OpenGL with GLFW

stuck mauve
#

SOLVED IT

#

glViewport() was the magic function