OpenGLProject/src/main.cpp
2024-04-23 17:18:00 -06:00

21 lines
409 B
C++

#include <iostream>
#include "window.h"
#include <GLFW/glfw3.h>
#include <ostream>
int main(){
std::cout << "Testing from work" << std::endl;
if(!glfwInit()){
std::cerr << "Unable to initialize GLFW. Terminating." << std::endl;
return 0;
}
Window* window = new Window(800, 600, "Test Window");
while(!window->closing()){
window->updateWindow();
}
delete window;
glfwTerminate();
return 0;
}