mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Rename SDL_SetGPURenderStateFragmentUniformData() to SDL_SetGPURenderStateFragmentUniforms()
This commit is contained in:
parent
96194347bc
commit
02faa8f75c
7 changed files with 9 additions and 9 deletions
|
|
@ -209,7 +209,7 @@ static bool InitGPURenderState(void)
|
|||
SDL_zero(uniforms);
|
||||
uniforms.texture_width = (float)target->w;
|
||||
uniforms.texture_height = (float)target->h;
|
||||
if (!SDL_SetGPURenderStateFragmentUniformData(data->state, 0, &uniforms, sizeof(uniforms))) {
|
||||
if (!SDL_SetGPURenderStateFragmentUniforms(data->state, 0, &uniforms, sizeof(uniforms))) {
|
||||
SDL_Log("Couldn't set uniform data: %s", SDL_GetError());
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ static bool InitGPURenderState(void)
|
|||
uniforms.distance_field_range = DISTANCE_FIELD_RANGE;
|
||||
uniforms.texture_width = (float)font_texture->w;
|
||||
uniforms.texture_height = (float)font_texture->h;
|
||||
if (!SDL_SetGPURenderStateFragmentUniformData(render_state, 0, &uniforms, sizeof(uniforms))) {
|
||||
if (!SDL_SetGPURenderStateFragmentUniforms(render_state, 0, &uniforms, sizeof(uniforms))) {
|
||||
SDL_Log("Couldn't set uniform data: %s", SDL_GetError());
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue