Skip to content

Commit

Permalink
shaders: Mark screen_res as a uniform.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Mar 24, 2016
1 parent 7694fd6 commit c1edd05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion res/gamedata/shaders/gl/stub_notransform_build.vs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "common_iostructs.h"
#include "iostructs\v_build.h"

float4 screen_res; // Screen resolution (x-Width,y-Height, zw - 1/resolution)
uniform float4 screen_res; // Screen resolution (x-Width,y-Height, zw - 1/resolution)

//////////////////////////////////////////////////////////////////////////////////////////
// Vertex
Expand Down
2 changes: 1 addition & 1 deletion res/gamedata/shaders/gl/stub_notransform_filter.vs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "common_iostructs.h"
#include "iostructs\v_filter.h"

float4 screen_res; // Screen resolution (x-Width,y-Height, zw - 1/resolution)
uniform float4 screen_res; // Screen resolution (x-Width,y-Height, zw - 1/resolution)

//////////////////////////////////////////////////////////////////////////////////////////
// Vertex
Expand Down

0 comments on commit c1edd05

Please sign in to comment.