From ecf47db716ceb7c90aa2961a6003cdec000f5086 Mon Sep 17 00:00:00 2001 From: zetaPRIME Date: Sat, 18 Mar 2017 17:15:25 -0400 Subject: [PATCH] out, annoying warning --- libstarlight/source/starlight/gfx/RenderCore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstarlight/source/starlight/gfx/RenderCore.cpp b/libstarlight/source/starlight/gfx/RenderCore.cpp index 4607b4e..e386ca6 100644 --- a/libstarlight/source/starlight/gfx/RenderCore.cpp +++ b/libstarlight/source/starlight/gfx/RenderCore.cpp @@ -248,7 +248,7 @@ CRenderTarget::CRenderTarget(int width, int height, bool forceExact) { auto w = forceExact ? width : NextPow2(width), h = forceExact ? height : NextPow2(height); txSize = Vector2(w, h); - tgt = C3D_RenderTargetCreate(w, h, GPU_RB_RGBA8, -1/*GPU_RB_DEPTH24_STENCIL8/**/); // I don't think we need a depth buffer >.> + tgt = C3D_RenderTargetCreate(w, h, GPU_RB_RGBA8, -1/*GPU_RB_DEPTH24_STENCIL8*/); // I don't think we need a depth buffer >.> Mtx_Ortho(&projection, 0.0f, w, 0.0f, h, 0.0f, 1.0f, true); //Mtx_OrthoTilt(&projection, 0.0f, h, 0.0f, w, 0.0f, 1.0f, true); }