Displaying 1 result from an estimated 1 matches for "successptr".
Did you mean:
successor
2006 Jun 26
1
Patch for rgl with gcc 4.0 in R 2.3.0 on OS X
...I defined a
GLint named viewgl and set it equal to the dereferenced value
of the int* view. I then passed in the address of viewgl to the gluProject
routine. This eliminated the error messages and allowed compilation.
-----RELEVANT SECTION OF rgl/src/api.cpp BEFORE ---
void rgl_user2window(int* successptr, int* idata, double* point, double*
pixel, double* model, double* proj, int* view)
{
int success = RGL_FAIL;
GLdouble* vertex = pixel;
int columns = idata[0];
Device* device = deviceManager->getAnyDevice();
if ( device ) {
for (int i=0; i<columns; i++) {
gl...