Skip to content

Commit

Permalink
Fix some issues found by Valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
fzurita committed Oct 9, 2017
1 parent 714c495 commit ba1c93d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ UnbufferedDrawerThreadSafe::UnbufferedDrawerThreadSafe(const GLInfo & _glinfo, C
m_cachedAttribArray->enableVertexAttribArray(rectAttrib::position, false);
m_cachedAttribArray->enableVertexAttribArray(rectAttrib::texcoord0, false);
m_cachedAttribArray->enableVertexAttribArray(rectAttrib::texcoord1, false);

m_attribsData.fill(nullptr);
}

UnbufferedDrawerThreadSafe::~UnbufferedDrawerThreadSafe()
Expand Down
2 changes: 1 addition & 1 deletion src/Textures.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ struct CachedTexture
CachedTexture(graphics::ObjectHandle _name) : name(_name), max_level(0), frameBufferTexture(fbNone), bHDTexture(false) {}

graphics::ObjectHandle name;
u32 crc;
u32 crc = 0;
// float fulS, fulT;
// WORD ulS, ulT, lrS, lrT;
float offsetS, offsetT;
Expand Down

0 comments on commit ba1c93d

Please sign in to comment.