mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 18:07:40 +00:00
Android: resize with software rendering, reverted again (Bug 4669)
This commit is contained in:
parent
12b92260cc
commit
e96d4760ac
3 changed files with 0 additions and 19 deletions
|
@ -82,11 +82,6 @@ SW_WindowEvent(SDL_Renderer * renderer, const SDL_WindowEvent *event)
|
|||
static int
|
||||
SW_GetOutputSize(SDL_Renderer * renderer, int *w, int *h)
|
||||
{
|
||||
#if defined(ANDROID)
|
||||
extern void Android_GetScreenResolution(int *w, int *h);
|
||||
Android_GetScreenResolution(w, h);
|
||||
return 0;
|
||||
#else
|
||||
SDL_Surface *surface = SW_ActivateRenderer(renderer);
|
||||
|
||||
if (surface) {
|
||||
|
@ -101,7 +96,6 @@ SW_GetOutputSize(SDL_Renderer * renderer, int *w, int *h)
|
|||
SDL_SetError("Software renderer doesn't have an output surface");
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue