mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05: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 defined(SUPPORT_DRM_CACHE)
|
||||||
if(InitSwapScreenBuffer() == 0) {
|
if(InitSwapScreenBuffer() == 0) {
|
||||||
|
#endif//SUPPORT_DRM_CACHE
|
||||||
TRACELOG(LOG_INFO, "PLATFORM: DRM: Initialized successfully");
|
TRACELOG(LOG_INFO, "PLATFORM: DRM: Initialized successfully");
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
|
||||||
#endif//SUPPORT_DRM_CACHE
|
|
||||||
TRACELOG(LOG_INFO, "PLATFORM: DRM: Initialized failed");
|
|
||||||
#if defined(SUPPORT_DRM_CACHE)
|
#if defined(SUPPORT_DRM_CACHE)
|
||||||
|
} else {
|
||||||
|
TRACELOG(LOG_INFO, "PLATFORM: DRM: Initialized failed");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
#endif //SUPPORT_DRM_CACHE
|
#endif //SUPPORT_DRM_CACHE
|
||||||
|
|||||||
Reference in New Issue
Block a user