Fix compile
This commit is contained in:
@@ -51,13 +51,10 @@ errorret_t displayInit(void) {
|
|||||||
errorChain(textInit());
|
errorChain(textInit());
|
||||||
errorChain(screenInit());
|
errorChain(screenInit());
|
||||||
|
|
||||||
assertTrue(SHADER_UNLIT.shaderProgramId != 0, "Unlit shader must be initialized before display init.");
|
|
||||||
|
|
||||||
errorOk();
|
errorOk();
|
||||||
}
|
}
|
||||||
|
|
||||||
errorret_t displayUpdate(void) {
|
errorret_t displayUpdate(void) {
|
||||||
assertTrue(SHADER_UNLIT.shaderProgramId != 0, "Unlit shader must be initialized before display update.");
|
|
||||||
#ifdef displayPlatformUpdate
|
#ifdef displayPlatformUpdate
|
||||||
errorChain(displayPlatformUpdate());
|
errorChain(displayPlatformUpdate());
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user