From bf44f72169dfd8cba390de037c4ddc574022f743 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 11 Dec 2019 00:06:44 +1000 Subject: [PATCH] Frontend: Remove unused texture for icon --- src/duckstation/opengl_host_display.cpp | 4 ---- src/duckstation/opengl_host_display.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/duckstation/opengl_host_display.cpp b/src/duckstation/opengl_host_display.cpp index d4f1c1f30..532ca80da 100644 --- a/src/duckstation/opengl_host_display.cpp +++ b/src/duckstation/opengl_host_display.cpp @@ -1,6 +1,5 @@ #include "opengl_host_display.h" #include "YBaseLib/Log.h" -#include "icon.h" #include #include #include @@ -339,9 +338,6 @@ void main() glGenVertexArrays(1, &m_display_vao); - if (!m_app_icon_texture.Create(APP_ICON_WIDTH, APP_ICON_HEIGHT, GL_RGBA, GL_UNSIGNED_BYTE, APP_ICON_DATA, true)) - return false; - // samplers glGenSamplers(1, &m_display_nearest_sampler); glSamplerParameteri(m_display_nearest_sampler, GL_TEXTURE_MIN_FILTER, GL_NEAREST); diff --git a/src/duckstation/opengl_host_display.h b/src/duckstation/opengl_host_display.h index 9b03ecc27..12536cbd5 100644 --- a/src/duckstation/opengl_host_display.h +++ b/src/duckstation/opengl_host_display.h @@ -52,8 +52,6 @@ private: int m_window_width = 0; int m_window_height = 0; - GL::Texture m_app_icon_texture; - GL::Program m_display_program; GLuint m_display_vao = 0; GLuint m_display_texture_id = 0;