mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-05 04:25:41 -04:00
Frontend: Remove unused texture for icon
This commit is contained in:
parent
6f78fea159
commit
bf44f72169
@ -1,6 +1,5 @@
|
|||||||
#include "opengl_host_display.h"
|
#include "opengl_host_display.h"
|
||||||
#include "YBaseLib/Log.h"
|
#include "YBaseLib/Log.h"
|
||||||
#include "icon.h"
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <imgui.h>
|
#include <imgui.h>
|
||||||
#include <imgui_impl_opengl3.h>
|
#include <imgui_impl_opengl3.h>
|
||||||
@ -339,9 +338,6 @@ void main()
|
|||||||
|
|
||||||
glGenVertexArrays(1, &m_display_vao);
|
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
|
// samplers
|
||||||
glGenSamplers(1, &m_display_nearest_sampler);
|
glGenSamplers(1, &m_display_nearest_sampler);
|
||||||
glSamplerParameteri(m_display_nearest_sampler, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
|
glSamplerParameteri(m_display_nearest_sampler, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
|
||||||
|
@ -52,8 +52,6 @@ private:
|
|||||||
int m_window_width = 0;
|
int m_window_width = 0;
|
||||||
int m_window_height = 0;
|
int m_window_height = 0;
|
||||||
|
|
||||||
GL::Texture m_app_icon_texture;
|
|
||||||
|
|
||||||
GL::Program m_display_program;
|
GL::Program m_display_program;
|
||||||
GLuint m_display_vao = 0;
|
GLuint m_display_vao = 0;
|
||||||
GLuint m_display_texture_id = 0;
|
GLuint m_display_texture_id = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user