This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by zhangyong on 12/4/17. | |
// | |
#include <pthread.h> | |
#include <EGL/egl.h> | |
#include <stdio.h> | |
#include "GLESExt.h" | |
static PFNGLDEBUGMESSAGECALLBACKKHRPROC _glDebugMessageCallbackKHR; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.9) | |
project(NVLimit) | |
set(CMAKE_CXX_STANDARD 11) | |
link_libraries(EGL pthread X11) | |
add_executable(NVLimit main.cpp) |