Mild updates to Window and other pieces to match the rest
This commit is contained in:
@@ -1,6 +1,18 @@
|
||||
#include <Buffers.hpp>
|
||||
#include "GLLoad.hpp"
|
||||
// #define _NB_AUTOLOG
|
||||
#include "VertexArray.hpp"
|
||||
#include "Window.hpp"
|
||||
|
||||
|
||||
int main() {
|
||||
nb::logger.log("Howdy!");
|
||||
nb::Window window(200, 200, "Hello!");
|
||||
window.setWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
|
||||
window.setWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
|
||||
window.init();
|
||||
|
||||
GLFWwindow* window_ptr = window.getWindow();
|
||||
while(!glfwWindowShouldClose(window_ptr)) {}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user