load glDiscardFramebufferEXT with a library function if needed
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#ifdef NVIDIA
|
||||
PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT;
|
||||
#endif
|
||||
|
||||
void _CHECK_GL_ERROR(const char *cmd, const char *file, int line) {
|
||||
std::cout << cmd << ";" << std::endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user