Skip to content

Commit c1edd05

Browse files
committed
shaders: Mark screen_res as a uniform.
1 parent 7694fd6 commit c1edd05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

res/gamedata/shaders/gl/stub_notransform_build.vs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "common_iostructs.h"
22
#include "iostructs\v_build.h"
33

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

66
//////////////////////////////////////////////////////////////////////////////////////////
77
// Vertex

res/gamedata/shaders/gl/stub_notransform_filter.vs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "common_iostructs.h"
22
#include "iostructs\v_filter.h"
33

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

66
//////////////////////////////////////////////////////////////////////////////////////////
77
// Vertex

0 commit comments

Comments
 (0)