Fixed compile problems
This commit is contained in:
parent
42741ea819
commit
8e6568d3d6
|
@ -69,7 +69,7 @@ static int current_width;
|
||||||
static bool input_released;
|
static bool input_released;
|
||||||
|
|
||||||
static bool isUndecorated;
|
static bool isUndecorated;
|
||||||
static bool focused;
|
static bool dirty;
|
||||||
static bool vsync_enabled;
|
static bool vsync_enabled;
|
||||||
static bool minimized;
|
static bool minimized;
|
||||||
static bool focused;
|
static bool focused;
|
||||||
|
@ -293,7 +293,7 @@ static void releaseContext(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int convertToBPE(int bpp) {
|
int convertToBPE(int bpp) {
|
||||||
int bpe = 4;
|
int bpe;
|
||||||
switch (bpp) {
|
switch (bpp) {
|
||||||
case 32:
|
case 32:
|
||||||
case 24:
|
case 24:
|
||||||
|
@ -301,6 +301,7 @@ int convertToBPE(int bpp) {
|
||||||
break;
|
break;
|
||||||
case 16: /* Fall through */
|
case 16: /* Fall through */
|
||||||
default:
|
default:
|
||||||
|
bpe = 4;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return bpe;
|
return bpe;
|
||||||
|
|
Loading…
Reference in New Issue