Skip to content

Commit

Permalink
Fix shader type conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
pchote authored and PunkPun committed Oct 24, 2023
1 parent 3bb4252 commit f1fba1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glsl/combined.vert
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void main()
vDepthMask = SelectChannelMask((aVertexAttributes >> 3) & 0x07u);
vChannelSampler = (aVertexAttributes >> 6) & 0x07u;
vDepthSampler = (aVertexAttributes >> 9) & 0x07u;
vTexPalette = (aVertexAttributes >> 16) / PaletteRows;
vTexPalette = float(aVertexAttributes >> 16) / PaletteRows;

vTint = aVertexTint;
}

0 comments on commit f1fba1e

Please sign in to comment.