mirror of https://github.com/encounter/SDL.git
os2: updates from Andrey Vasilkin's 2020-09-07 sources.
This commit is contained in:
parent
aa790837eb
commit
1b99d805db
|
@ -49,9 +49,9 @@ HPOINTER utilCreatePointer(SDL_Surface *surface, ULONG ulHotX, ULONG ulHotY)
|
|||
return NULLHANDLE;
|
||||
}
|
||||
|
||||
// pulDst - last line of surface (image) part of the result bitmap's
|
||||
// pulDst - last line of surface (image) part of the result bitmap
|
||||
pulDst = &pulBitmap[ (surface->h - 1) * surface->w ];
|
||||
// pulDstMask - last line of mask part of the result bitmap's
|
||||
// pulDstMask - last line of mask part of the result bitmap
|
||||
pulDstMask = &pulBitmap[ (2 * surface->h - 1) * surface->w ];
|
||||
// pulSrc - first line of source image
|
||||
pulSrc = (PULONG)surface->pixels;
|
||||
|
|
|
@ -30,8 +30,6 @@
|
|||
#define INCL_GPI
|
||||
#include <os2.h>
|
||||
|
||||
/*#define debug(s,...) SDL_LogDebug( SDL_LOG_CATEGORY_VIDEO, __func__"(): "##s, ##__VA_ARGS__ )*/
|
||||
|
||||
HPOINTER utilCreatePointer(SDL_Surface *surface, ULONG ulHotX, ULONG ulHotY);
|
||||
|
||||
#endif /* _SDL_os2util_h */
|
||||
|
|
|
@ -1677,7 +1677,8 @@ static int OS2_GetDisplayDPI(_THIS, SDL_VideoDisplay *display, float *ddpi,
|
|||
|
||||
static void OS2_GetDisplayModes(_THIS, SDL_VideoDisplay *display)
|
||||
{
|
||||
debug( "Enter" );
|
||||
// debug( "Enter" );
|
||||
SDL_AddDisplayMode( display, &display->current_mode );
|
||||
}
|
||||
|
||||
static int OS2_SetDisplayMode(_THIS, SDL_VideoDisplay *display,
|
||||
|
|
Loading…
Reference in New Issue