]> Chaos Git - corbenik/ctrulib.git/commitdiff
Added comments to GSP_FramebufferFormats for the pixel byte-sizes.
authoryellows8 <yellows8@users.noreply.github.com>
Thu, 27 Nov 2014 16:27:21 +0000 (11:27 -0500)
committeryellows8 <yellows8@users.noreply.github.com>
Thu, 27 Nov 2014 16:27:21 +0000 (11:27 -0500)
libctru/include/3ds/services/gsp.h

index d324b9a6ef14eb71a495463f437e7783beec138e..e65245d5bfe46a6b3888bbd9720f2c43e050647d 100644 (file)
@@ -15,11 +15,11 @@ typedef struct
 
 typedef enum
 {
-       GSP_RGBA8_OES=0,
-       GSP_BGR8_OES=1,
-       GSP_RGB565_OES=2,
-       GSP_RGB5_A1_OES=3,
-       GSP_RGBA4_OES=4
+       GSP_RGBA8_OES=0, //pixel_size = 4-bytes
+       GSP_BGR8_OES=1, //pixel_size = 3-bytes
+       GSP_RGB565_OES=2, //pixel_size = 2-bytes
+       GSP_RGB5_A1_OES=3, //pixel_size = 2-bytes
+       GSP_RGBA4_OES=4 //pixel_size = 2-bytes
 }GSP_FramebufferFormats;
 
 typedef struct//See this for GSP_CaptureInfoEntry and GSP_CaptureInfo: http://3dbrew.org/wiki/GSPGPU:ImportDisplayCaptureInfo