- removed the 'layout' qualifier from the uniform buffer declaration. It's not really needed because the layout of a single vec4 array cannot possibly change, and Intel drivers are complaining for unknown reasons.

This commit is contained in:
Christoph Oelckers 2014-09-20 09:10:01 +02:00
parent 43e2d704a3
commit 835dbe5bd0
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ out vec4 FragColor;
vec4 lights[];
};
#else
layout(std140) uniform LightBufferUBO
/*layout(std140)*/ uniform LightBufferUBO
{
vec4 lights[NUM_UBO_LIGHTS];
};