Revision 6454151bd41eb2c7e1dfc079b90f27fc62be77d6 authored by Philip Trettner on 17 April 2022, 08:24:26 UTC, committed by Philip Trettner on 17 April 2022, 08:24:26 UTC
Update xxHash source files See merge request Glow/glow!40
limits.cc
#include "limits.hh"
#include "glow.hh"
#include "gl.hh"
int glow::limits::maxCombinedTextureImageUnits = -1;
int glow::limits::maxPatchVertices = -1;
float glow::limits::maxAnisotropy = -1;
void glow::limits::update()
{
checkValidGLOW();
glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, &maxCombinedTextureImageUnits);
glGetIntegerv(GL_MAX_PATCH_VERTICES, &maxPatchVertices);
glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &maxAnisotropy);
}

Computing file changes ...