mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-09 23:55:40 +12:00
[GPU] Rename abgr8888_to_vec4() to abgr8888ToVec4()
This commit is contained in:
parent
2f19310c42
commit
901e3308a0
1 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ const char* vertexShader = R"(
|
|||
uniform uint u_textureEnvColor[6];
|
||||
uniform uint u_textureEnvBufferColor;
|
||||
|
||||
vec4 abgr8888_to_vec4(uint abgr) {
|
||||
vec4 abgr8888ToVec4(uint abgr) {
|
||||
const float scale = 1.0 / 255.0;
|
||||
|
||||
return vec4(
|
||||
|
@ -50,10 +50,10 @@ const char* vertexShader = R"(
|
|||
v_texcoord2 = vec2(a_texcoord2.x, 1.0 - a_texcoord2.y);
|
||||
|
||||
for (int i = 0; i < 6; i++) {
|
||||
v_textureEnvColor[i] = abgr8888_to_vec4(u_textureEnvColor[i]);
|
||||
v_textureEnvColor[i] = abgr8888ToVec4(u_textureEnvColor[i]);
|
||||
}
|
||||
|
||||
v_textureEnvBufferColor = abgr8888_to_vec4(u_textureEnvBufferColor);
|
||||
v_textureEnvBufferColor = abgr8888ToVec4(u_textureEnvBufferColor);
|
||||
}
|
||||
)";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue