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
gl.hh
#pragma once
/// Include this header whenever you need access to OpenGL functions
#include "glad/glad.h"
namespace glow
{
/**
* @brief restores various openGL states to their default setting
*
* This is not necessarily comprehensive, so better check the implementation to be sure
*
* Includes at least:
* * all glEnable/Disable states
* * their derived calls (glBlendFunc, ...)
*/
void restoreDefaultOpenGLState();
/**
* @brief sets all OpenGL object bindings to 0
*
* CAUTION: calling it while a GLOW object is bound is undefined behavior!
*
* Can be used after 3rd party calls to make sure no state is accidentally changed
*/
void unbindOpenGLObjects();
}

Computing file changes ...