Updated SDL 1.3 to the latest hg-5868:33245988e8a2 , video resize is not supported yet
This commit is contained in:
@@ -16,6 +16,7 @@ SdlVideoResizeKeepAspect=n
|
||||
CompatibilityHacks=
|
||||
AppUsesMouse=n
|
||||
AppNeedsTwoButtonMouse=n
|
||||
ShowMouseCursor=n
|
||||
ForceRelativeMouseMode=n
|
||||
AppNeedsArrowKeys=y
|
||||
AppNeedsTextInput=y
|
||||
@@ -33,6 +34,7 @@ FirstStartMenuOptions=''
|
||||
MultiABI=n
|
||||
AppVersionCode=110014
|
||||
AppVersionName="1.1.0.14"
|
||||
ResetSdlConfigForThisVersion=n
|
||||
CompiledLibraries="sdl_mixer sdl_image"
|
||||
CustomBuildScript=n
|
||||
AppCflags='-O3'
|
||||
|
||||
@@ -35,7 +35,7 @@ static inline SdlCompat_AcceleratedSurface * SdlCompat_CreateAcceleratedSurface(
|
||||
|
||||
format = SDL_PIXELFORMAT_RGB565;
|
||||
if( surface->flags & SDL_SRCCOLORKEY )
|
||||
format = SDL_PIXELFORMAT_RGBA5551;
|
||||
format = SDL_PIXELFORMAT_RGBA4444;
|
||||
|
||||
ret->t = SDL_CreateTextureFromSurface(format, surface);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user