Skip to content

Commit

Permalink
forgot to replace attribute in one location
Browse files Browse the repository at this point in the history
  • Loading branch information
Bauumm committed Oct 24, 2024
1 parent 46753f4 commit 6514631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compat/game21/shader_compat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ function shader_compat.compile(new_code, code, filename)
-- to slow down the game with runtime compilation)
local instance_shader = love.graphics.newShader(
[[
attribute vec2 instance_position;
attribute vec4 instance_color;
layout(location = 3) in vec2 instance_position;
layout(location = 4) in vec4 instance_color;
out vec4 instance_color_out;
vec4 position(mat4 transform_projection, vec4 vertex_position)
Expand Down

0 comments on commit 6514631

Please sign in to comment.