Browse Source

- fixing SUPPORT_DRM_CACHE define check at the end of InitPlatform()

pull/4988/head
katonar 1 week ago
parent
commit
8388160c32
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/platforms/rcore_drm.c

+ 2
- 2
src/platforms/rcore_drm.c View File

@ -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;
#if defined(SUPPORT_DRM_CACHE)
} else { } else {
#endif//SUPPORT_DRM_CACHE
TRACELOG(LOG_INFO, "PLATFORM: DRM: Initialized failed"); TRACELOG(LOG_INFO, "PLATFORM: DRM: Initialized failed");
#if defined(SUPPORT_DRM_CACHE)
return -1; return -1;
} }
#endif //SUPPORT_DRM_CACHE #endif //SUPPORT_DRM_CACHE

Loading…
Cancel
Save