Build/warning fix

This commit is contained in:
Henrik Rydgård committed 2022-10-18 10:48:16 +02:00
1 parent feb4f9477a
commit 269eb55c17
3 files changed
+3 -1

No files matched your search

-1
View File
@@ -10,7 +10,6 @@
#if !defined(_WIN32)
#include <pthread.h>
#include <sys/prctl.h>
#endif
double FromXrTime(const XrTime time) {
+2
View File
@@ -40,6 +40,8 @@ float vibration_channel_duration[2] = {0.0f, 0.0f};
float vibration_channel_intensity[2] = {0.0f, 0.0f};
#if !defined(_WIN32)
#include <sys/time.h>
unsigned long sys_timeBase = 0;
int milliseconds(void) {
struct timeval tp;
+1
View File
@@ -2045,6 +2045,7 @@ static bool CanDepalettize(GETextureFormat texFormat, GEBufferFormat bufferForma
}
break;
case GE_FORMAT_CLUT8:
case GE_FORMAT_INVALID:
// Shouldn't happen here.
return false;
}