The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
18 views

GLFW3. Destroying and create new window results in a black window

I am trying to write a fullscreen toggle handler and running into an issue. In order to change between fullscreen and windowed I need to destroy the current window and create a new one with the ...
0
votes
1answer
39 views

OpenGL +SFML + GLFW3

I'am maybe asking a stupid question, but can we mix OpenGl + SMFL and add to it some GLFW in the same SFML window ?
2
votes
1answer
390 views

How can I forward GLFW's keyboard input to another object?

I'm having trouble trying to execute keyboard events in a another class with GLFW3. The problem I'm having is that GLFW3 uses a static function for input as shown: static UI u; ... ... static void ...
-2
votes
1answer
118 views

Why OpenGL X and Z axis got inverted sometimes?

I'm having some troubles with my game code. I'm developing a Voxel Engine and everything is fine, but sometimes (like 30% of times) when I build and run my project, the X and Z axis got inverted (I ...
2
votes
0answers
154 views

GLFW3 multiple windows

I'm trying to use GLFW3 to develop VJing application. So basic idea is use two windows: 1st window for fullscreen projection on secondary monitor (basically projector) 2nd window for (hopefully) ...
0
votes
1answer
361 views

Texture Won't Load in OpenGL

I've started trying to make a 2D game in C++ using OpenGL, and I'm using SOIL as the imaging loading library. The problem is, I've been trying to get a simple 64x64 image of a red square to open and ...
0
votes
1answer
778 views

How to find monitor resolution with glfw3?

For a while now, I have been playing around with making a game using OpenGL, and glfw3. I have been perfectly happy to create windows at my native resolution of 1920x1080. I'm getting to the point ...
1
vote
0answers
402 views

Creating a new GLFW window and re-using the old context causes crash

I am using GLFW 3.0.2 and when I want to switch the application to fullscreen, I create a new window and intend to use the OpenGL context of the old window so I don't have to reload all the meshes, ...
3
votes
1answer
956 views

How to set to fullscreen in GLFW3?

In the version 2.7 everything was pretty simple: glfwOpenWindow(Width, Height, 8, 8, 8, 8, 24, 0, isFullscr ? GLFW_FULLSCREEN : GLFW_WINDOW); But in version 3.x there is no place where i can ...
5
votes
2answers
1k views

How can I associate a key_callback with a wrapper class instance?

I'm trying to wrap my GLFW3 calls into a single class: class WindowManager { private: GLFWwindow* window_; GLFWmonitor* monitor_; Keyboard* keyboard_; ... } And I'm trying to setup a ...
0
votes
1answer
668 views

Why won't my vertex buffer render in GLFW3?

I have started to try to learn OpenGL, and I decided to use GLFW to assist in window creation. The problem is, since GLFW3 is so new, there are no tutorials on it or how to use it with modern OpenGL ...