Closed rogermc2 closed 6 years ago
The Data
parameter of Read_Pixels
is missing an out
qualifier. You can add it yourself if you want.
Of course but I missed seeing that. I fixed it in the framebuffer files and it compiles OK now. Does anything need to be done in API.Read_Pixels. Thanks
I think the API import is fine.
OK. Thanks.
My program is crashing on the Read_Pix
instruction but presumably that's something else that I will have to sort out.
I am having a problem trying to "read pixels" with the following code:
...
.....
The above code produces the warning:
This suggests that
Read_Pix
is reading from Pixel_Data instead of writing to it asglReadPixels
is specified to do. OpenGLAda declarations forRead_Pixels
appear OK. Am I doing something wrong?