Hi All
I implement a single demo on Dolphin Smalltalk.
I am using GLIntercept and this message returns:
InterceptDisplayList::CallLists - Calling non-existant list? 39
InterceptDisplayList::CallLists - Calling non-existant list? 49
InterceptDisplayList::CallLists - Calling non-existant list? 52
InterceptDisplayList::CallLists - Calling non-existant list? 27
What does this mean?
Which is the error?
>>createBitmapFont: aString size: anInteger
| base font |
base := OpenGLInterface generateLists: 96.
(font := Font name: aString pixelSize: anInteger)
ifNil: [^self error: 'Can''t create the font named: ' , aString].
self view canvas font: font.
(OpenGLInterface
useFontBitmaps: self view deviceContext
glyph: 32
countGlyph: 96
listBase: base) ifFalse: [^self error: 'Can''t use the font bitmap'].
^base
>>drawText: aString at: aPoint
"Draw a text at aPoint"
self fontList ifNil: [^self error: 'Font list not initialized'].
OpenGLInterface
color: 1.0
green: 1.0
blue: 0.0;
windowPosition: aPoint;
pushListBase;
listBase: fontList - 32;
callStringLists: aString length: aString size;
popAttribute
Any idea ?
Advanced thanks
kiko