1
0
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:
AnyOldName3 2021-03-13 01:31:35 +00:00
parent 0431ba4c87
commit 3103266406
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,9 @@
#version 120
#if @useGPUShader4
#extension EXT_gpu_shader4: require
#endif
#define GROUNDCOVER
#if @diffuseMap

View File

@ -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;