PDA

View Full Version : GLIntercept messages ?



kikoST
11-03-2010, 01:52 PM
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

kyle_
11-19-2010, 02:26 PM
Afaik, intercept doesnt track display lists created by wglUseFontBitmaps - it complains because no glNewList was previously issued that returned list of specific number. You can safely ignore the warning.

sqrt[-1]
11-23-2010, 04:50 PM
The GLIntercept1.0 Beta handles wglUseFontBitmaps.