mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2025-02-17 00:51:11 +00:00
Switch to RGB565 over 888
This commit is contained in:
parent
9f58c947fc
commit
ed9f3d33cd
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ namespace quake
|
||||||
// Types.
|
// Types.
|
||||||
//ScePspRGB565;
|
//ScePspRGB565;
|
||||||
//ScePspRGBA8888
|
//ScePspRGBA8888
|
||||||
typedef ScePspRGBA8888 pixel;
|
typedef ScePspRGB565 pixel;
|
||||||
typedef u8 texel;
|
typedef u8 texel;
|
||||||
typedef u16 depth_value;
|
typedef u16 depth_value;
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@ void VID_Init(unsigned char* palette)
|
||||||
sceGuStart(GU_DIRECT, display_list);
|
sceGuStart(GU_DIRECT, display_list);
|
||||||
{
|
{
|
||||||
//sceGuDrawBuffer(GU_PSM_5650, vrelptr(draw_buffer), 512);
|
//sceGuDrawBuffer(GU_PSM_5650, vrelptr(draw_buffer), 512);
|
||||||
sceGuDrawBuffer(GU_PSM_8888, vrelptr(draw_buffer), 512);
|
sceGuDrawBuffer(GU_PSM_5650, vrelptr(draw_buffer), 512);
|
||||||
sceGuDispBuffer(screen_width, screen_height, vrelptr(display_buffer), 512);
|
sceGuDispBuffer(screen_width, screen_height, vrelptr(display_buffer), 512);
|
||||||
sceGuDepthBuffer(vrelptr(depth_buffer), 512);
|
sceGuDepthBuffer(vrelptr(depth_buffer), 512);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue