fix compilation error

This commit is contained in:
David Rose 2007-06-18 15:41:39 +00:00
parent 2f1bf73bc7
commit 21eea17348
1 changed files with 3 additions and 1 deletions

View File

@ -746,7 +746,9 @@ reset() {
}
_max_draw_buffers = 1;
if (_glDrawBuffers != 0) {
GLP(GetIntegerv)(GL_MAX_DRAW_BUFFERS, &_max_draw_buffers);
GLint max_draw_buffers;
GLP(GetIntegerv)(GL_MAX_DRAW_BUFFERS, &max_draw_buffers);
_max_draw_buffers = max_draw_buffers;
}
_supports_occlusion_query = false;