From 8f2ba3f1b11f30cdb7d41bf2e5c5dc141fba76d4 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 24 Dec 2018 21:02:12 +0800 Subject: =?UTF-8?q?*=E5=B1=8F=E5=B9=95=E7=89=B9=E6=95=88(post=20processing?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/graphics/je_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libjin/graphics/je_window.cpp') diff --git a/src/libjin/graphics/je_window.cpp b/src/libjin/graphics/je_window.cpp index 1ce3901..49877e3 100644 --- a/src/libjin/graphics/je_window.cpp +++ b/src/libjin/graphics/je_window.cpp @@ -88,7 +88,7 @@ namespace JinEngine SDL_GL_SetSwapInterval(vsync ? 1 : 0); SDL_GL_MakeCurrent(mWnd, ctx); // Default configuration. - gl.setClearColor(0, 0, 0, 0xff); + gl.setClearColor(0, 0, 0, 0); glClear(GL_COLOR_BUFFER_BIT); gl.setColor(0xff, 0xff, 0xff, 0xff); gl.enable(GL_BLEND); -- cgit v1.1-26-g67d0