You are not logged in.

#1 2017-05-12 07:44:07

tusharpandey13
Member
Registered: 2017-05-06
Posts: 13

Unable to render openGL or SDL, windows show content of screen behind.

I'm following this: http://web.eecs.umich.edu/~sugih/course … lfw-howto/ to make an opengl window. (Source : http://web.eecs.umich.edu/~sugih/course … sample.cpp)

I'm compiling from terminal.
Using -lglfw -lGL -lm -lXrandr -lXi -lX11 -lXxf86vm -lpthread . (Not -lglfw3 as it gives error)

Nothing is shown except the window border and inside the window the contents of the screen behind the window are shown. This content doesn't update. I've also tried sdl with and without opengl with the same effect.

Note- sfml works fine but I haven't tried with gl.

Specs:- Intel mesa driver, KDE, xorg.

Offline

Board footer

Powered by FluxBB