Hi Adam,

I saw your message to debian-arm, a list which I sometimes read but am not subscribed to, hence this off-list reply. I don't know anything about qt but I have been learning OpenGL recently. Here's my suggestion:

inline void glGetQrealv(GLenum e, GLfloat* data) { glGetFloatv(e,data); }
inline void glGetQrealv(GLenum e, GLdouble* data) { glGetDoublev(e,data); }

Then replace the calls to glGetDoublev() that want qreals with calls to glGetQrealv(). This should work on platforms where qreal is of either type.

Good luck!


Phil.







--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to