ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
DoubleBuff.c
Go to the documentation of this file.
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # (c) 2009 Lion
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
9 */
10 
11 #include <errno.h>
12 #include <stdio.h>
13 #include <kernel.h>
14 #include <libgs.h>
15 
16 #include "internal.h"
17 
18 static short int gs_db_draw_buffer=0;
19 
21 {
22  return gs_db_draw_buffer;
23 }
24 
26 {
27  return(gs_db_draw_buffer? 0: 1);
28 }
29 
30 void GsDbSwapBuffer(void)
31 {
33 }
void GsDbSwapBuffer(void)
Definition: DoubleBuff.c:30
static short int gs_db_draw_buffer
Definition: DoubleBuff.c:18
int GsDbGetDisplayBuffer(void)
Definition: DoubleBuff.c:25
int GsDbGetDrawBuffer(void)
Definition: DoubleBuff.c:20