Jump to content

  • Log In with Google      Sign In   
  • Create Account

hdxpete

Member Since 26 Oct 2011
Offline Last Active Feb 10 2015 02:02 AM

Posts I've Made

In Topic: C++ 64 bit void */int conversion addressing questions

01 December 2014 - 03:08 AM

thanks for the advice. not sure what i will do yet.

 

i was really hoping that there was a cool casting trick i havent seen yet...


In Topic: C++ 64 bit void */int conversion addressing questions

01 December 2014 - 01:00 AM

hmm. that is really unfortunate. i really didn't want to redefine all methods that take ints to now take a union instead. i guess though it is better to bite the bullet...


In Topic: C++ 64 bit void */int conversion addressing questions

01 December 2014 - 12:46 AM

no not looking to use a union

 

basically i'm looking to know how i have to modifiy this code inorder for it to work as intended.

 

int x = 100;

myRefData->data = x;

int y = (int)myRefData->data;.


In Topic: Wrong stride: glVertexAttribPointer

28 October 2014 - 10:43 PM

your stride should be the same for all glVertexAttribPointer calls. i think you are mixing up the last 2 parameters.

 

1. is the sizeof(vertex)

2. offset from 0 to that data element in vertex.


In Topic: gles2.0 lowp, mediump, highp precision sizes

28 October 2014 - 09:42 PM

thank you kalle_h for the link

 

and thank you cgrant. this is the reason i asked for the specification. as we appear to be seeing some devices that are behaving slightly different. we resolved it by raising the precision however we would like to know if it is an implementation error on the driver or our part.

 

thanks again for the link kalle_h


PARTNERS