aboutsummaryrefslogtreecommitdiff
path: root/res/rect.f.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'res/rect.f.glsl')
-rw-r--r--res/rect.f.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/rect.f.glsl b/res/rect.f.glsl
index 907ee858..12e40469 100644
--- a/res/rect.f.glsl
+++ b/res/rect.f.glsl
@@ -12,7 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#version 330 core
-in vec4 color;
+
+uniform vec4 color;
out vec4 FragColor;