Fixed fragment lights for Nvidia cards with 2048 max uniforms

This commit is contained in:
2014-03-13 13:00:36 +01:00
parent 5478b84508
commit f8f9203141
3 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -29,7 +29,6 @@ public:
glm::mat4 projectionMatrix;
int HEIGHT, WIDTH;
float Lights;
struct ModelData
{
@@ -40,6 +39,7 @@ public:
};
std::vector<ModelData*> ModelsToRender;
int Lights;
std::vector<float> Light_position;
std::vector<float> Light_specular;
std::vector<float> Light_diffuse;