I followed this guide here from GLFW's compiling web page and the help from this User How to build and install GLFW3...linux project. when I run the simple window from this basic starter template:
#include <GLFW/glfw3.h>
int main(void)
{
GLFWwindow* window;
/* Initialize the library */
if (!glfwInit())
return -1;
/* Create a windowed mode window and its OpenGL context */
window = glfwCreateWindow(640, 480, "Hello World", NULL, NULL);
if (!window)
{
glfwTerminate();
return -1;
}
/* Make the window's context current */
glfwMakeContextCurrent(window);
/* Loop until the user closes the window */
while (!glfwWindowShouldClose(window))
{
/* Render here */
glClear(GL_COLOR_BUFFER_BIT);
/* Swap front and back buffers */
glfwSwapBuffers(window);
/* Poll for and process events */
glfwPollEvents();
}
glfwTerminate();
return 0;
}
When I run this code, my window looks a bit weird. I was wondering if this was a system thing or if there was a way to change it.
what I'm trying to go for is a simple window that looks like it wasnt made in 2010.
I looked through the window documentation by GLFW aswell and couldnt find anything that could do what im wanting. Here