Fix shader type conversion.

This commit is contained in:
Paul Chote
2023-10-23 21:23:09 +01:00
committed by Gustas
parent 3bb42522b8
commit f1fba1ed14

View File

@@ -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;
}