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