mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fix rendering on linux
This commit is contained in:
parent
77a12eb50e
commit
475d069185
2 changed files with 5 additions and 6 deletions
|
@ -21,10 +21,9 @@
|
||||||
<@def VERSION_HEADER #version 120
|
<@def VERSION_HEADER #version 120
|
||||||
#extension GL_EXT_gpu_shader4 : enable@>
|
#extension GL_EXT_gpu_shader4 : enable@>
|
||||||
<@else@>
|
<@else@>
|
||||||
<@def GPU_FEATURE_PROFILE GPU_LEGACY@>
|
<@def GPU_FEATURE_PROFILE GPU_CORE@>
|
||||||
<@def GPU_TRANSFORM_PROFILE GPU_LEGACY@>
|
<@def GPU_TRANSFORM_PROFILE GPU_CORE@>
|
||||||
<@def VERSION_HEADER #version 120
|
<@def VERSION_HEADER #version 430 compatibility@>
|
||||||
#extension GL_EXT_gpu_shader4 : enable@>
|
|
||||||
<@endif@>
|
<@endif@>
|
||||||
|
|
||||||
<@endif@>
|
<@endif@>
|
||||||
|
|
|
@ -40,8 +40,8 @@
|
||||||
//#include <GL/gl.h>
|
//#include <GL/gl.h>
|
||||||
//#include <GL/glext.h>
|
//#include <GL/glext.h>
|
||||||
|
|
||||||
#define GPU_FEATURE_PROFILE GPU_LEGACY
|
#define GPU_FEATURE_PROFILE GPU_CORE
|
||||||
#define GPU_TRANSFORM_PROFILE GPU_LEGACY
|
#define GPU_TRANSFORM_PROFILE GPU_CORE
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue