python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
OpenGL error 1282 when returning struct with uint array member
I get OpenGL error 1282 when I try to run fragment shader with a function that returns struct with uint array initialized from function argument and integer literal.
When I run my program with the fra...
Arkadiy Mel
Votes: 0
Answers: 1
OpenGL - Can I draw non-indexed when index-buffer is set for VAO?
I set up a VAO, binding vertex-buffers to it for vertex attributes, but also set index-buffer (With glVertexArrayElementBuffer). Does that restrict it so it only works with glDrawElements type of comm...
Newline
Votes: 0
Answers: 1
OpenGL warning after calling glCopyNamedBufferSubData and glNamedBufferSubData
I'm getting the following warning:
Buffer performance warning: Buffer object 19 (bound to NONE, usage hint is GL_DYNAMIC_DRAW) is being copied/moved from VIDEO memory to HOST memory.
I allocate this b...
Newline
Votes: 0
Answers: 1
What parameters affect glCompressedTexSubImage2D, in difference to glCompressedTexImage2D?
I have a problem which only affects ATI-graphic cards on PC, but it seems no other graphics hardware, including Nvidia/Intel/Android/iOS.
When I create a 2D texture I allocate using glTexStorage2D, an...
Viktor Sehr
Votes: 0
Answers: 0