1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 11:09:43 +00:00

Don't break NV shaders

This commit is contained in:
glassmancody.info 2021-03-31 22:05:47 -07:00
parent 157717693a
commit 71f7f30c0b
2 changed files with 12 additions and 0 deletions

View file

@ -1,5 +1,9 @@
#version 120 #version 120
#if @useUBO
#extension GL_ARB_uniform_buffer_object : require
#endif
#if @useGPUShader4 #if @useGPUShader4
#extension GL_EXT_gpu_shader4: require #extension GL_EXT_gpu_shader4: require
#endif #endif

View file

@ -1,5 +1,13 @@
#version 120 #version 120
#if @useUBO
#extension GL_ARB_uniform_buffer_object : require
#endif
#if @useGPUShader4
#extension GL_EXT_gpu_shader4: require
#endif
#if @diffuseMap #if @diffuseMap
varying vec2 diffuseMapUV; varying vec2 diffuseMapUV;
#endif #endif