mirror of https://github.com/mgba-emu/mgba.git
3DS: Fix warning
This commit is contained in:
parent
57ad735280
commit
39c6bb2de6
|
@ -122,7 +122,7 @@ static bool _initGpu(void) {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!C3D_TexInitVRAM(&upscaleBufferTex, 512, 512, GPU_RB_RGB8)) {
|
||||
if (!C3D_TexInitVRAM(&upscaleBufferTex, 512, 512, GPU_RGB8)) {
|
||||
return false;
|
||||
}
|
||||
upscaleBuffer = C3D_RenderTargetCreateFromTex(&upscaleBufferTex, GPU_TEXFACE_2D, 0, 0);
|
||||
|
|
Loading…
Reference in New Issue