Vincent Lejeune
062bcb1ff0
Fix gl debug output rant about uninitialised sync
2014-08-21 23:31:45 +02:00
Vincent Lejeune
187c9fca85
Port SunLight to TextureRead
2014-08-21 23:29:40 +02:00
Vincent Lejeune
c38a26b92a
Use a separate rtt for diffuse/specular
2014-08-21 23:26:16 +02:00
Deve
4584464798
Add icon to exe file as resource.
...
It's hard to test for me because currently I can compile it only on virtual machine and it takes long time.
But it should work.
2014-08-21 21:38:59 +02:00
Stephen Just
78df1bf371
Fix hasGLExtension on Windows.
...
Windows requires loading the glGetStringi function explicitly.
Also included fallback for when it is not found.
2014-08-20 14:38:49 -06:00
Marianne Gagnon
c8b50c67ef
Fix leak
2014-08-20 20:38:05 -04:00
Vincent Lejeune
d968ce11bf
Add a function that kills shaders and use it when reloading shader.
...
Thus there is no mesh corruption.
2014-08-21 02:19:33 +02:00
Vincent Lejeune
5abc404ed9
Use stream_copy for tfb buffers.
2014-08-21 01:17:16 +02:00
Vincent Lejeune
dd1f0739f0
Properly clean program object in load shader function.
2014-08-20 23:30:25 +02:00
Vincent Lejeune
06df2d12c7
Forgot to free a temp array.
2014-08-20 23:16:20 +02:00
Vincent Lejeune
04f6c7e729
Use singleton template for VAOManager (ex VBOGatherer)
2014-08-20 23:08:04 +02:00
Deve
c2cf83bb6a
xrandr: move restore resolution to separated function because it makes a mess...
2014-08-20 19:44:06 +02:00
Deve
56fa56a38f
xrandr: don't restore resolution if output was disconnected during game
2014-08-20 19:44:06 +02:00
Deve
5c4c54bf20
xrandr: make sure that output_id and old_mode are declared
2014-08-20 19:44:06 +02:00
hiker
4a028afb8f
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-08-20 21:25:15 +10:00
hiker
4228fbb0d4
Temporary fixed windows compilation (glGetStringi not known). Needs
...
a proper fix!!
2014-08-20 21:24:20 +10:00
hiker
6073788813
Fix linux compilation (no nullptr).
2014-08-20 21:07:12 +10:00
Deve
6a48010644
Fixed compilation error with disabled xrandr
2014-08-20 06:49:38 +02:00
Stephen Just
6b3786457f
Fix OpenGL extension detection on Linux/Mesa.
...
Created function in glwrap to test whether a GL extension is available.
This required using OpenGL3's glGetStringi. Backwards compat code can
be added to function if necessary.
2014-08-19 16:19:38 -06:00
vlj
160d4ae432
Merge branch 'texture-factorization'
2014-08-20 02:54:54 +02:00
vlj
fc945a429f
Another place found
2014-08-20 02:46:48 +02:00
vlj
d11d56f6cd
Replace std::vector<GLuint>{...} in post_processing
2014-08-20 02:42:59 +02:00
vlj
7de6b7adcd
Use createVector in others places
2014-08-20 02:21:34 +02:00
vlj
4197e2c320
Another ifdef sets...
2014-08-20 02:05:16 +02:00
vlj
5559a9fd1d
Add some #if !defined(APPLE) in debug screen
2014-08-20 02:02:34 +02:00
vlj
b3e6ed03b1
Use VERSION_3_3 macro
2014-08-20 01:56:16 +02:00
vlj
af4fdaf96b
Add "functionnal" include in debug.cpp
2014-08-20 01:56:04 +02:00
vlj
953dd9db0d
Put some others bunch of code between ifdef win32
2014-08-20 01:48:28 +02:00
Marianne Gagnon
ffd558e577
Merge branch 'texture-factorization' of https://github.com/supertuxkart/stk-code into texture-factorization
...
Conflicts:
src/graphics/post_processing.cpp
2014-08-19 19:45:24 -04:00
Marianne Gagnon
5788073b17
osx fixes
2014-08-19 19:44:27 -04:00
vlj
ef95f5703a
Add createVector in another place.
2014-08-20 01:37:50 +02:00
vlj
d0e22164d5
Add some ifdef for OSX
2014-08-20 01:31:11 +02:00
vlj
190aed6219
Use createVector in some others places
2014-08-20 01:27:26 +02:00
vlj
a28f4d26b4
Add a "createVector" function for OSX
2014-08-20 01:13:39 +02:00
vlj
af9c3d53b7
Use template to declare shader texture usage.
2014-08-19 22:06:49 +02:00
vlj
2a473a550a
Remove wrappers.
2014-08-19 17:30:44 +02:00
vlj
92e5126ebf
Fix travis ci
2014-08-19 17:16:27 +02:00
Vincent Lejeune
4641854c49
Factorize gl headers include in a separate file.
...
It should avoid conflict with Xorg headers
2014-08-19 17:01:45 +02:00
vlj
5128ab920b
Fix build
2014-08-19 17:01:32 +02:00
Vincent Lejeune
30c91217a7
Factorize gl headers include in a separate file.
...
It should avoid conflict with Xorg headers
2014-08-19 16:52:49 +02:00
vlj
bd7ec06d49
Fix build
2014-08-19 16:52:43 +02:00
Vincent Lejeune
da843cc8c1
Add sampler object support
2014-08-19 02:36:06 +02:00
vlj
bdd7951c46
Split animated meshes list from the others
2014-08-19 02:35:51 +02:00
Marianne Gagnon
9af41a5166
Add actual light under thunderbird
2014-08-18 20:01:45 -04:00
Vincent Lejeune
da90ea491e
Unlit material supports tex matrix
2014-08-19 01:36:06 +02:00
auriamg
fcbc41171e
Merge pull request #1463 from konstin/gp_editor_laps
...
small improvements to the gp editor
2014-08-18 19:04:43 -04:00
Deve
0dc34b2c0d
xrandr: few more checks
...
- try to run in windowed mode if no output was found
- close display correctly in case of no output
- add few warnings
2014-08-18 20:56:30 +02:00
konstin
33686e9abc
make gp editor use default number of laps
2014-08-18 15:16:53 +02:00
konstin
e400b5c212
improve readability
2014-08-18 15:15:22 +02:00
konstin
2f6424c3a2
replace unecessary NULL-checks
2014-08-18 15:11:51 +02:00