X1R5G5B5 format

This commit is contained in:
Glenn Maynard
2007-03-20 07:51:56 +00:00
parent bcb431f244
commit 5dc6e79d3c
4 changed files with 19 additions and 1 deletions
+12
View File
@@ -119,6 +119,13 @@ static RageDisplay::PixelFormatDesc PIXEL_FORMAT_DESC[NUM_PixelFormat] = {
0x03E0,
0x001F,
0x8000 },
}, {
/* X1R5G5B5 */
16,
{ 0x7C00,
0x03E0,
0x001F,
0x0000 },
}
};
@@ -177,6 +184,11 @@ struct GLPixFmtInfo_t {
GL_RGB5_A1,
GL_BGRA,
GL_UNSIGNED_SHORT_1_5_5_5_REV,
}, {
/* X1R5G5B5 */
GL_RGB5,
GL_BGRA,
GL_UNSIGNED_SHORT_1_5_5_5_REV,
}
};