mirror of
https://github.com/yawut/SDL.git
synced 2026-07-15 16:31:23 -05:00
wiiu/render: Remove optional SetTextureMod functions
This commit is contained in:
parent
e5fae70caf
commit
a01adf4e00
|
|
@ -62,12 +62,14 @@ WIIU_CreateRenderer(SDL_Window * window, Uint32 flags)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
// See sdl_render_wiiu.h for explanations of commented-out functions
|
||||
|
||||
renderer->WindowEvent = WIIU_WindowEvent;
|
||||
renderer->GetOutputSize = WIIU_GetOutputSize;
|
||||
renderer->CreateTexture = WIIU_CreateTexture;
|
||||
renderer->SetTextureColorMod = WIIU_SetTextureColorMod;
|
||||
renderer->SetTextureAlphaMod = WIIU_SetTextureAlphaMod;
|
||||
renderer->SetTextureBlendMode = WIIU_SetTextureBlendMode;
|
||||
//renderer->SetTextureColorMod = WIIU_SetTextureColorMod;
|
||||
//renderer->SetTextureAlphaMod = WIIU_SetTextureAlphaMod;
|
||||
//renderer->SetTextureBlendMode = WIIU_SetTextureBlendMode;
|
||||
renderer->UpdateTexture = WIIU_UpdateTexture;
|
||||
renderer->LockTexture = WIIU_LockTexture;
|
||||
renderer->UnlockTexture = WIIU_UnlockTexture;
|
||||
|
|
|
|||
|
|
@ -48,12 +48,14 @@ static void WIIU_WindowEvent(SDL_Renderer * renderer,
|
|||
const SDL_WindowEvent *event);
|
||||
static int WIIU_GetOutputSize(SDL_Renderer * renderer, int *w, int *h);
|
||||
static int WIIU_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture);
|
||||
static int WIIU_SetTextureColorMod(SDL_Renderer * renderer,
|
||||
// SDL changes colour/alpha/blend values internally, this is just to notify us.
|
||||
// We don't care yet. TODO: could update GX2RBuffers less frequently with these?
|
||||
/*static int WIIU_SetTextureColorMod(SDL_Renderer * renderer,
|
||||
SDL_Texture * texture);
|
||||
static int WIIU_SetTextureAlphaMod(SDL_Renderer * renderer,
|
||||
SDL_Texture * texture);
|
||||
static int WIIU_SetTextureBlendMode(SDL_Renderer * renderer,
|
||||
SDL_Texture * texture);
|
||||
SDL_Texture * texture);*/
|
||||
static int WIIU_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
|
||||
const SDL_Rect * rect, const void *pixels,
|
||||
int pitch);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user