mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:40:05 +00:00
Adding map context to simplify parameter passing
This commit is contained in:
parent
afb174a8fe
commit
f7f86ec24a
12 changed files with 140 additions and 124 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#define SCWX_GL_CHECK_ERROR() \
|
||||
{ \
|
||||
GLenum err; \
|
||||
while ((err = p->gl_.glGetError()) != GL_NO_ERROR) \
|
||||
while ((err = gl.glGetError()) != GL_NO_ERROR) \
|
||||
{ \
|
||||
BOOST_LOG_TRIVIAL(warning) << logPrefix_ << "GL Error: " << err \
|
||||
<< ", " __FILE__ << ":" << __LINE__; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue