|
@ -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 |
|
|