Minor fixes

This commit is contained in:
Jérôme Leclercq
2021-10-29 16:50:50 +02:00
parent 9e1df33440
commit b2aedd394c
4 changed files with 7 additions and 9 deletions

View File

@@ -7,7 +7,7 @@
#include <numeric>
const char fragmentSource[] = R"(
#version 310 es
#version 300 es
#if GL_FRAGMENT_PRECISION_HIGH
precision highp float;
@@ -15,7 +15,7 @@ precision highp float;
precision mediump float;
#endif
layout(binding = 3, std140) uniform LightParameters
layout(std140) uniform LightParameters
{
mat4 projectionMatrix;
mat4 invProjectionMatrix;
@@ -34,7 +34,7 @@ void main()
)";
const char vertexSource[] = R"(
#version 310 es
#version 300 es
void main()
{