Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
5 votes
1 answer
132 views

I decided to try a dual screen to display the square as a wireframe vs a colored in square: #include <GLAD/glad.h> #include <GLFW/glfw3.h> #include <iostream> void ...
1 vote
0 answers
74 views

I can draw a rectangle without errors if I use unsigned int or uint32_t in indices[] and I have 2 questions: Why do I get a triangle when using uint8_t? I get nothing if its 2 bytes (uint16_t) ? No ...
Umut Kaya Bal's user avatar
2 votes
1 answer
123 views

I am following MG's OpenGL Tutorials and making some adjustments on my liking to the code. It was working at first, but after compiling shaders and linking them into a program, it somehow started to ...
Umut Kaya Bal's user avatar
0 votes
0 answers
91 views

I'm following this C++ WebGPU tutorial (with associated Git repo here) in another language, and so must rewrite the build script accordingly. The tutorial calls wgpu::glfw::CreateSurfaceForWindow ...
0 votes
2 answers
203 views

I am trying to generate texture data manually. The texture shows in unexpected ways. So I stripped all to two simple cases for 1x1 and 2x2 texture. When I provide 1x1 texture it is ok, but it is not ...
armagedescu's user avatar
  • 2,417
0 votes
1 answer
189 views

I'm trying to use the latest version of cImgui, which supports Imgui 1.92.3 along CMake to link all the libraries required. I got it compiling and now the compiler expects there to be external ...
Z-100's user avatar
  • 705
0 votes
1 answer
39 views

I'm trying to create a window in Kotlin using the LWJGL3 library. The code compiles, IntelliJ sees no issue. However when I run it expecting it to return either a 0 or a 1 to be printed out, I instead ...
Aegis's user avatar
  • 11
0 votes
1 answer
200 views

I’m working on a custom C++ engine using GLFW and GLAD with OpenGL. My engine is compiled as a DLL and used in an editor/game executable. So far, everything works fine: I can create a window and ...
2 votes
2 answers
127 views

This is supposed to animate half of a clockwise circle, as though a particle was moving in a circle at constant speed: // gcc simple6.c -o simple6 -lglfw -lGL -lm // Fedora Linux 42 (Workstation ...
0 votes
0 answers
70 views

I am experiencing an issue with GLFW's window, it's running without title bar, collapse, maximize and minimize buttons! I have compiled and installed GLFW from source with it's necessary dependencies, ...
2 votes
1 answer
205 views

I am making a small application with glfw. I'm not using CMake and instead opted to make a custom build system for more control, but I'm getting an error when trying to run my program: error while ...
user avatar
0 votes
1 answer
144 views

I am creating a small abstraction layer for an engine, but when I call any OpenGL API functions from a class, the code segfaults. I'm using glad and glfw and there aren't any errors from either, and ...
5 votes
1 answer
121 views

In this program the 3 triangles aren't drawn, even when I replace the texture by vec4(0.0f, 0.5f, 0.0f, 1.0f);, trying to draw the third triangle in green: #define GLFW_INCLUDE_NONE #include <GLFW/...
3 votes
1 answer
102 views

I am using pyGLFW to create a window and I want to set an icon for the window. I tried to search on the glfw website but it does not support Python. I am encountering an error when passing the image ...
Dev-Mas's user avatar
  • 33
0 votes
0 answers
75 views

I have been displaying animations: #include <GL/glew.h> #include <GLFW/glfw3.h> #include <iostream> #include <fstream> #include <sstream> #include <cmath> #include &...
Sam's user avatar
  • 494

15 30 50 per page
1
2 3 4 5
...
165

AltStyle によって変換されたページ (->オリジナル) /