Closed goofyseeker311 closed 3 weeks ago
Self-answer: if you change TEXTURE_2D to TEXTURE_RECTANGLE in both the TexImage2D() function and the glEnable() function, then it will work. but the TEXTURE_2D will not work.
edit: just putting the TexImage2D() function to TEXTURE_RECTANGLE instead of TEXTURE_2D works also.
Please learn how to use modern OpenGL before creating issues. https://learnopengl.com/ should help you
issues and especially questions are just for questions eh. you actually want the opposite. no questions. thanks. the original issue I posted should work without questions. opengl seems to be a bit shaky in the implementation robustness. maybe I dont need to learn it. I rather do OpenCL instead. opengl was just to copy the opencl image buffer faster to the system display, gpu. keep your opengl mate.
in other words: no. you dont want to help, but only to obstruct. already figured out the issue on my own. sorry for bothering you.
Question
The opengl window shows up normally and otherwise its working. even the triangles are drawn with the color, but not with the texture data. graphicsbuffer is an int[] buffer with working int8888 data.
What would be the problem. also fbo's blitting did not seem to work either with same data. if its about the core profile missing functions then why does GL46 include any pointers to missing deprecated code.