Untitled

mail@pastecode.io avatar
unknown
plain_text
23 days ago
478 B
1
Indexable
Never
#include <iostream>
#include <glad/glad.h>
#include <GLFW/glfw3.h>

using namespace std;

int main(){
	glfwInit()

	glfwTerminate(GLFW_CONTEXT_VERSION_MAJOR, 3);
	glfwTerminate(GLFW_CONTEXT_VERSION_MAJOR, 3);
	glfwTerminate(GLFW_OPENGI_PROFILE, GLFW_OPENGI_CORE_PROFILE);

	GLFWwindows* window = glfwCreateWindow(800, 800, "hasib", NULL, NULL);
	if (window == NULL) {
		cout << "window creation failed" << endl;
		glfwTerminate();
		return -1;
	}

	return 0;
Leave a Comment