mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 18:07:40 +00:00
Rename property define names to have a type suffix
Renamed the following property define names to have a type suffix to match other property names. SDL_PROP_TEXTURE_OPENGL_TEXTURE_TARGET (number) SDL_PROP_TEXTURE_OPENGLES2_TEXTURE_TARGET (number) SDL_PROP_WINDOW_CREATE_WAYLAND_SCALE_TO_DISPLAY (boolean) SDL_PROP_WINDOW_RENDERER (pointer) SDL_PROP_WINDOW_TEXTUREDATA (pointer)
This commit is contained in:
parent
cacac6cc34
commit
5af7113842
7 changed files with 22 additions and 22 deletions
|
@ -1629,7 +1629,7 @@ static int GLES2_CreateTexture(SDL_Renderer *renderer, SDL_Texture *texture, SDL
|
|||
}
|
||||
}
|
||||
SDL_SetNumberProperty(SDL_GetTextureProperties(texture), SDL_PROP_TEXTURE_OPENGLES2_TEXTURE_NUMBER, data->texture);
|
||||
SDL_SetNumberProperty(SDL_GetTextureProperties(texture), SDL_PROP_TEXTURE_OPENGLES2_TEXTURE_TARGET, data->texture_type);
|
||||
SDL_SetNumberProperty(SDL_GetTextureProperties(texture), SDL_PROP_TEXTURE_OPENGLES2_TEXTURE_TARGET_NUMBER, data->texture_type);
|
||||
|
||||
if (texture->access == SDL_TEXTUREACCESS_TARGET) {
|
||||
data->fbo = GLES2_GetFBO(renderer->driverdata, texture->w, texture->h);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue