mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-07 13:53:24 +00:00
- fixing SUPPORT_DRM_CACHE define check at the end of InitPlatform()
This commit is contained in:
@@ -1308,12 +1308,12 @@ int InitPlatform(void)
|
||||
|
||||
#if defined(SUPPORT_DRM_CACHE)
|
||||
if(InitSwapScreenBuffer() == 0) {
|
||||
#endif//SUPPORT_DRM_CACHE
|
||||
TRACELOG(LOG_INFO, "PLATFORM: DRM: Initialized successfully");
|
||||
return 0;
|
||||
} else {
|
||||
#endif//SUPPORT_DRM_CACHE
|
||||
TRACELOG(LOG_INFO, "PLATFORM: DRM: Initialized failed");
|
||||
#if defined(SUPPORT_DRM_CACHE)
|
||||
} else {
|
||||
TRACELOG(LOG_INFO, "PLATFORM: DRM: Initialized failed");
|
||||
return -1;
|
||||
}
|
||||
#endif //SUPPORT_DRM_CACHE
|
||||
|
||||
Reference in New Issue
Block a user