Frontend: Remove unused texture for icon

This commit is contained in:
Connor McLaughlin 2019-12-11 00:06:44 +10:00
parent 6f78fea159
commit bf44f72169
2 changed files with 0 additions and 6 deletions

View File

@ -1,6 +1,5 @@
#include "opengl_host_display.h"
#include "YBaseLib/Log.h"
#include "icon.h"
#include <array>
#include <imgui.h>
#include <imgui_impl_opengl3.h>
@ -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);

View File

@ -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;