1
General / Re: SFML not drawing anything on window [Linux, Eclipse]
« on: March 06, 2015, 07:23:43 pm »
Solved! I've being doing some tests an everything works really fine.
Thanks again! o/
Thanks again! o/
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
You could always try to compile SFML from the latest GitHub master, or the very latest soon-to-be-merged gl_dev branch. If you haven't already tried, maybe compiling the 2.2 source yourself might already fix the problem.
glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.3.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.3.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:
This is just a wild guess, but are you completely sure that window.display() is being called at the end of the render loop? I notice when I test the code you posted (on Ubuntu Linux) it creates a sort of screenshot effect in the window when window.display() is commented out. Otherwise it runs fine. Did you try the SFML-Linux tutorial and just using a text editor + command line?