mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
Add correct preprocessor check when enabling extension
This commit is contained in:
parent
0431ba4c87
commit
3103266406
@ -1,5 +1,9 @@
|
||||
#version 120
|
||||
|
||||
#if @useGPUShader4
|
||||
#extension EXT_gpu_shader4: require
|
||||
#endif
|
||||
|
||||
#define GROUNDCOVER
|
||||
|
||||
#if @diffuseMap
|
||||
|
@ -1,6 +1,8 @@
|
||||
#version 120
|
||||
|
||||
#extension EXT_gpu_shader4: enable
|
||||
#if @useGPUShader4
|
||||
#extension EXT_gpu_shader4: require
|
||||
#endif
|
||||
|
||||
uniform sampler2D diffuseMap;
|
||||
varying vec2 diffuseMapUV;
|
||||
|
Loading…
Reference in New Issue
Block a user