GLCallLists Not Behavng as Expected
Hi guys, I have the following call to the function:
glListBase(m_iTextSquare+(26 * (set-1)));
glCallLists(iArrayLength, GL_UNSIGNED_BYTE, sText);
Only problem is, it only ever prints 'a'. If I select a different set (these are for different colours) I do get the appropriate corresponding colour, however doesn't print everything else. If I get text to the screen, I get the following results:
sText gets back "testing" which is exactly what I wanted it to display,
*sText gets 't'
&sText brings back:
Curiously, it returns these memory locations in an alternating manner.