Skip to content

Commit

Permalink
resolved warning is fragment shader
Browse files Browse the repository at this point in the history
  • Loading branch information
hrvthzs committed Nov 30, 2011
1 parent 65f4457 commit dd1cb4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shaders/shader.fs
Expand Up @@ -23,7 +23,7 @@ void main()

vec3 N;
N.xy = position.xy - fragPos.xy;

N.z = 0.0;
N *= correction;
N.y /= aspectRatio;
float mag = dot(N.xy, N.xy);
Expand Down
2 changes: 1 addition & 1 deletion src/particles_renderer.cpp
Expand Up @@ -12,7 +12,7 @@ namespace Particles {
Renderer::Renderer(Simulator* simulator) {
this->_simulator = simulator;

this->_numParticles = 20000;
this->_numParticles = 15000;

this->_animate = false;
this->_deltaTime = 0.0;
Expand Down

0 comments on commit dd1cb4d

Please sign in to comment.