Asset loading
This commit is contained in:
@@ -86,26 +86,6 @@ errorret_t displayInit(void) {
|
||||
VIDEO_WaitVSync();
|
||||
if(DISPLAY.screenMode->viTVMode & VI_NON_INTERLACE) VIDEO_WaitVSync();
|
||||
|
||||
// DISPLAY.fifoBuffer = MEM_K0_TO_K1(memalign(32,FIFO_SIZE));
|
||||
// memset(DISPLAY.fifoBuffer, 0, FIFO_SIZE);
|
||||
|
||||
// GX_Init(DISPLAY.fifoBuffer, FIFO_SIZE);
|
||||
// GXColor backgroundColor = {0, 0, 0, 255};
|
||||
// GX_SetCopyClear(backgroundColor, 0x00ffffff);
|
||||
// GX_SetViewport(0,0,DISPLAY.screenMode->fbWidth,DISPLAY.screenMode->efbHeight,0,1);
|
||||
// GX_SetDispCopyYScale((f32)DISPLAY.screenMode->xfbHeight/(f32)DISPLAY.screenMode->efbHeight);
|
||||
// GX_SetScissor(0,0,DISPLAY.screenMode->fbWidth,DISPLAY.screenMode->efbHeight);
|
||||
// GX_SetDispCopySrc(0,0,DISPLAY.screenMode->fbWidth,DISPLAY.screenMode->efbHeight);
|
||||
// GX_SetDispCopyDst(DISPLAY.screenMode->fbWidth,DISPLAY.screenMode->xfbHeight);
|
||||
// GX_SetCopyFilter(DISPLAY.screenMode->aa,DISPLAY.screenMode->sample_pattern,
|
||||
// GX_TRUE,DISPLAY.screenMode->vfilter);
|
||||
// GX_SetFieldMode(DISPLAY.screenMode->field_rendering,
|
||||
// ((DISPLAY.screenMode->viHeight==2*DISPLAY.screenMode->xfbHeight)?GX_ENABLE:GX_DISABLE));
|
||||
|
||||
// GX_SetCullMode(GX_CULL_NONE);
|
||||
// GX_CopyDisp(DISPLAY.frameBuffer,GX_TRUE);
|
||||
// GX_SetDispCopyGamma(GX_GM_1_0);
|
||||
|
||||
#endif
|
||||
|
||||
quadInit();
|
||||
@@ -147,6 +127,7 @@ errorret_t displayUpdate(void) {
|
||||
}
|
||||
|
||||
SDL_GL_MakeCurrent(DISPLAY.window, DISPLAY.glContext);
|
||||
|
||||
#elif DOLPHIN
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user