mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-10 04:42:38 +01:00
Fix weird nvidia shader compiler error
This commit is contained in:
parent
aa7f77009c
commit
ddf4bd3585
@ -5,6 +5,8 @@ namespace GameShaders {
|
|||||||
const char* WaterHQ::VertexShader = R"(
|
const char* WaterHQ::VertexShader = R"(
|
||||||
#version 130
|
#version 130
|
||||||
#extension GL_ARB_explicit_attrib_location : enable
|
#extension GL_ARB_explicit_attrib_location : enable
|
||||||
|
#extension GL_ARB_uniform_buffer_object : enable
|
||||||
|
|
||||||
layout(location = 0) in vec2 position;
|
layout(location = 0) in vec2 position;
|
||||||
out vec2 TexCoords;
|
out vec2 TexCoords;
|
||||||
uniform float height;
|
uniform float height;
|
||||||
|
Loading…
Reference in New Issue
Block a user