Skip to content

Commit

Permalink
treat GLhandleARB as UV since on _APPLE is void*
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jun 21, 2024
1 parent 3f7710d commit aace4aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pogl_gl_Mult_Prog.xs
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ glGetAttachedObjectsARB_p(containerObj)

EXTEND(sp, count);
for(i=0;i<count;i++)
PUSHs(sv_2mortal(newSViv(obj[i])));
PUSHs(sv_2mortal(newSViv((IV)obj[i])));

free(obj);
}
Expand Down
2 changes: 1 addition & 1 deletion typemap
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ GLboolean T_BOOL
GLenum T_INT
GLbitfield T_INT
GLcharARB T_CHAR
GLhandleARB T_U_INT
GLhandleARB T_UV

GLUnurbsObj * T_PTROBJ
GLUquadricObj * T_PTROBJ
Expand Down

0 comments on commit aace4aa

Please sign in to comment.