mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-09-22 20:45:45 +02:00
gsdx:ogl: Remove unused variables
Fixes some clang warnings.
This commit is contained in:
@@ -48,7 +48,6 @@ static const uint32 g_fx_cb_index = 14;
|
||||
static const uint32 g_convert_index = 15;
|
||||
static const uint32 g_vs_cb_index = 20;
|
||||
static const uint32 g_ps_cb_index = 21;
|
||||
static const uint32 g_gs_cb_index = 22;
|
||||
|
||||
bool GSDeviceOGL::m_debug_gl_call = false;
|
||||
int GSDeviceOGL::m_shader_inst = 0;
|
||||
|
||||
@@ -148,7 +148,7 @@ namespace PboPool {
|
||||
}
|
||||
|
||||
GSTextureOGL::GSTextureOGL(int type, int w, int h, int format, GLuint fbo_read, bool mipmap)
|
||||
: m_pbo_size(0), m_clean(false), m_generate_mipmap(true), m_local_buffer(NULL), m_r_x(0), m_r_y(0), m_r_w(0), m_r_h(0), m_layer(0)
|
||||
: m_clean(false), m_generate_mipmap(true), m_local_buffer(nullptr), m_r_x(0), m_r_y(0), m_r_w(0), m_r_h(0), m_layer(0)
|
||||
{
|
||||
// OpenGL didn't like dimensions of size 0
|
||||
m_size.x = std::max(1,w);
|
||||
|
||||
@@ -41,7 +41,6 @@ class GSTextureOGL final : public GSTexture
|
||||
{
|
||||
private:
|
||||
GLuint m_texture_id; // the texture id
|
||||
int m_pbo_size;
|
||||
GLuint m_fbo_read;
|
||||
bool m_clean;
|
||||
bool m_generate_mipmap;
|
||||
|
||||
Reference in New Issue
Block a user