Просмотр исходного кода

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

pull/4988/head
katonar 5 месяцев назад
Родитель
Сommit
8388160c32
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      src/platforms/rcore_drm.c

+ 2
- 2
src/platforms/rcore_drm.c Просмотреть файл

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

Загрузка…
Отмена
Сохранить