mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-27 09:01:34 +00:00
Allow MessageBox to work without window
This commit is contained in:
committed by
Sam Lantinga
parent
0de601dc64
commit
1b8d5631ef
@@ -39,13 +39,6 @@
|
||||
#include "SDL_render_psp.h"
|
||||
|
||||
/* PSP renderer implementation, based on the PGE */
|
||||
|
||||
#define PSP_SCREEN_WIDTH 480
|
||||
#define PSP_SCREEN_HEIGHT 272
|
||||
|
||||
#define PSP_FRAME_BUFFER_WIDTH 512
|
||||
#define PSP_FRAME_BUFFER_SIZE (PSP_FRAME_BUFFER_WIDTH * PSP_SCREEN_HEIGHT)
|
||||
|
||||
static unsigned int __attribute__((aligned(16))) DisplayList[262144];
|
||||
|
||||
#define COL5650(r, g, b, a) ((r >> 3) | ((g >> 2) << 5) | ((b >> 3) << 11))
|
||||
|
||||
@@ -22,6 +22,12 @@
|
||||
/* this header is meant to be included after the other related internal SDL
|
||||
headers. it's the interface between psp renderer and video driver code. */
|
||||
|
||||
#define PSP_SCREEN_WIDTH 480
|
||||
#define PSP_SCREEN_HEIGHT 272
|
||||
|
||||
#define PSP_FRAME_BUFFER_WIDTH 512
|
||||
#define PSP_FRAME_BUFFER_SIZE (PSP_FRAME_BUFFER_WIDTH * PSP_SCREEN_HEIGHT)
|
||||
|
||||
enum SDL_PSP_RenderProps
|
||||
{
|
||||
SDL_PSP_RENDERPROPS_FRONTBUFFER,
|
||||
|
||||
Reference in New Issue
Block a user