Jonas Kulla
94911b61a6
Revert "Always request OpenGL Core profile"
...
This reverts commit 34d4103111
.
Turns out we need at least GLSL 1.50, for which we'd
have to throw our OpenGL 2.0 compatibility in the water.
Nope, not yet.
2013-10-16 00:04:01 +02:00
Jonas Kulla
1e98413a7e
Init: Print various GL implementation strings
2013-10-15 23:19:52 +02:00
Jonas Kulla
bf5e80dd6a
Init: Check for OpenGL 2.0 and destroy context on error
2013-10-15 19:35:03 +02:00
Jonas Kulla
2a83cfc1e1
Init: glClear the window as early as possible
2013-10-14 03:03:31 +02:00
Jonas Kulla
caccee5db2
Fix up glew include paths
2013-10-14 02:22:34 +02:00
Jonas Kulla
39436ad231
Fix up SDL2 include paths
...
Using "SDL2/SDL_xxx.h" instead of "SDL_xxx.h" caused
the include paths provided by pkg-config to be ignored,
and headers from a standard include path to be used instead.
2013-10-13 23:21:34 +02:00
Jonas Kulla
8b9c501249
Remove useless SDL_Init() flag
2013-10-13 23:07:40 +02:00
Jonas Kulla
cb6f73f7df
Rename 'GlobalState' to 'SharedState' to avoid confusion with GLState
...
This was particularly nasty with the shorthand macros
'gState' and 'glState'. The former is now 'shState'.
2013-10-09 12:30:33 +02:00
Jonas Kulla
34d4103111
Always request OpenGL Core profile
2013-10-08 06:29:05 +02:00
Jonas Kulla
bb70c39811
Ensure SDL_image and SDL_ttf initialize correctly
2013-10-02 13:50:58 +02:00
Jonas Kulla
0f58852e2b
Remove GL_ARB_imaging requirement
...
Mesa doesn't have it, and I'm not sure it really
serves any purpose at all.
2013-10-02 13:35:14 +02:00
Jonas Kulla
660cb9e05a
Always set rqTermAck to true after binding returns
2013-09-23 00:02:28 +02:00
Jonas Kulla
ef6bacf201
Only require EXT framebuffer extensions
2013-09-06 14:21:35 +02:00
Jonas Kulla
a21423ca1c
Move GL state initialization into GLState
2013-09-04 21:05:47 +02:00
Jonas Kulla
c2585660b7
Remove unnecessary variable
2013-09-04 11:31:35 +02:00
Jonas Kulla
0477c3f8db
Remove wrong extension check
2013-09-02 13:40:16 +02:00
Jonas Kulla
0ab438af64
Add more gl extensions and spacing
2013-09-02 11:13:22 +02:00
Jonas Kulla
ff25887f41
Initial commit
2013-09-01 16:27:21 +02:00