I am making a small OpenGL wrapper for iPhone. Everything was going fine until I reached a point where I had to make a wrapper for glReadPixels. Now my questions are as follows:
- The documentation at page: https://wiki.appcelerator.org/display/guides/iOS+Module+Development+Guide suggests that NSArray can be returned directly from the module. However, my application crashes when I try returning a NSArray*.
Note that I have a slightly more complicated setup because iOS OpenGL functions cannot be called from a separate thread so all my proxy functions essentially call view functions in a blocking fashion. I don't know whether this is complicating something.
I'd appreciate any help.
Think you can help? Login to answer this question!