From 73c42ddcc4eeb6ac3f0282d2c08ae8e632f3355f Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 27 Oct 2018 08:31:00 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9boot.lua?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/Font/je_texture_font.h | 2 +- src/libjin/Graphics/je_window.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libjin/Graphics') diff --git a/src/libjin/Graphics/Font/je_texture_font.h b/src/libjin/Graphics/Font/je_texture_font.h index d61991a..fb74eca 100644 --- a/src/libjin/Graphics/Font/je_texture_font.h +++ b/src/libjin/Graphics/Font/je_texture_font.h @@ -39,7 +39,7 @@ namespace JinEngine /// /// static TextureFont* createTextureFont(const Bitmap* bitmap, const Content& codepoints, Color mask, int cellh); - + /// /// /// diff --git a/src/libjin/Graphics/je_window.cpp b/src/libjin/Graphics/je_window.cpp index f0b789e..b36a2a3 100644 --- a/src/libjin/Graphics/je_window.cpp +++ b/src/libjin/Graphics/je_window.cpp @@ -76,8 +76,6 @@ namespace JinEngine gl.enable(GL_BLEND); gl.enable(GL_TEXTURE_2D); gl.setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - // avoid white screen blink on windows - swapBuffers(); // bind to default canvas Canvas::unbind(); Shader::unuse(); -- cgit v1.1-26-g67d0