16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 00:59:18 +02:00

gl::query class, use of occlusion queries in glare rendering

This commit is contained in:
milek7
2019-09-15 21:00:13 +02:00
parent 178d94cc98
commit 8bb65f006d
7 changed files with 195 additions and 121 deletions

View File

@@ -3,7 +3,7 @@
GLenum gl::buffer::glenum_target(gl::buffer::targets target)
{
GLenum mapping[13] =
static GLenum mapping[13] =
{
GL_ARRAY_BUFFER,
GL_ATOMIC_COUNTER_BUFFER,