mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-09 12:22:34 +01:00
Removed GL_ARB_explicit_attrib_location extension
This commit is contained in:
parent
1500b6acbb
commit
756ddf2df2
@ -4,7 +4,6 @@ namespace GameShaders {
|
||||
|
||||
const char* WaterHQ::VertexShader = R"(
|
||||
#version 330
|
||||
#extension GL_ARB_explicit_attrib_location : enable
|
||||
|
||||
layout(location = 0) in vec2 position;
|
||||
out vec2 TexCoords;
|
||||
@ -76,7 +75,6 @@ void main() {
|
||||
|
||||
const char* Mask3D::VertexShader = R"(
|
||||
#version 330
|
||||
#extension GL_ARB_explicit_attrib_location : enable
|
||||
|
||||
layout(location = 0) in vec3 position;
|
||||
|
||||
@ -110,7 +108,6 @@ void main() {
|
||||
|
||||
const char* Sky::VertexShader = R"(
|
||||
#version 330
|
||||
#extension GL_ARB_explicit_attrib_location : enable
|
||||
|
||||
layout(std140) uniform SceneData {
|
||||
mat4 projection;
|
||||
@ -146,7 +143,6 @@ void main() {
|
||||
|
||||
const char* WorldObject::VertexShader = R"(
|
||||
#version 330
|
||||
#extension GL_ARB_explicit_attrib_location : enable
|
||||
|
||||
layout(location = 0) in vec3 position;
|
||||
layout(location = 1) in vec3 normal;
|
||||
@ -285,7 +281,6 @@ void main()
|
||||
|
||||
const char* ScreenSpaceRect::VertexShader = R"(
|
||||
#version 330
|
||||
#extension GL_ARB_explicit_attrib_location : enable
|
||||
|
||||
layout(location = 0) in vec2 position;
|
||||
out vec2 TexCoords;
|
||||
@ -317,7 +312,6 @@ void main()
|
||||
|
||||
const char* DefaultPostProcess::VertexShader = R"(
|
||||
#version 330
|
||||
#extension GL_ARB_explicit_attrib_location : enable
|
||||
|
||||
layout(location = 0) in vec2 position;
|
||||
out vec2 TexCoords;
|
||||
|
@ -8,7 +8,6 @@
|
||||
|
||||
const char* MapVertexShader = R"(
|
||||
#version 330
|
||||
#extension GL_ARB_explicit_attrib_location : enable
|
||||
|
||||
layout(location = 0) in vec2 position;
|
||||
out vec2 TexCoord;
|
||||
|
@ -58,7 +58,6 @@ glm::vec4 indexToCoord(int font, int index)
|
||||
|
||||
const char* TextVertexShader = R"(
|
||||
#version 330
|
||||
#extension GL_ARB_explicit_attrib_location : enable
|
||||
|
||||
layout(location = 0) in vec2 position;
|
||||
layout(location = 3) in vec2 texcoord;
|
||||
|
Loading…
Reference in New Issue
Block a user