#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
using namespace std;
const unsigned int screen_width = 800;
const unsigned int screen_height = 600;
void framebuffer_size_callback(GLFWwindow * window, int width, int height);
void inputProcess(GLFWwindow * window);
int main()
{
//initialization and setting
如何使用OpenGL跨平台创建窗口
最新推荐文章于 2024-05-21 09:34:54 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)