Login  Register

Re: JOCL texture generation

Posted by Wade Walker on Mar 19, 2014; 1:31pm
URL: https://forum.jogamp.org/JOCL-texture-generation-tp4031853p4031973.html

Retried this on OS X last night, and figured out how to make it work properly. I had to change the texture2D() call in the fragment shader to texture(), since texture2D has been deprecated (this gets rid of the GL error x502 I had been seeing). Now I get the correct output on Mac for both the Nvidia GeForce 320M OpenCL device and the Intel OpenCL device. I'll try this on a PC tonight after work and see if that makes any difference there.