Passing a bank to a GL function

BlitzMax Forums/BlitzMax Programming/Passing a bank to a GL function

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

	temp:tbank=CreateBank(Len(s$)+1)
	PokeString temp,0,s$
	glListBase listBase
	'glRasterPos2f x,y
	glCallLists BankSize(temp)-1,GL_UNSIGNED_BYTE,bank buf(temp)


I get an error on the last line:
Unable to convert from 'Int' to 'Byte Ptr'.