Mantis - Croquet
Viewing Issue Advanced Details
4006 Hedgehog minor always 07-04-06 09:05 10-08-06 00:52
espin  
andreas  
normal  
resolved  
fixed  
none    
none  
0004006: OpenGL>>extensions
The heuristics extensions additions in OpenGL>>extensions
should be an array of symbols, not of Strings.
For examples:
    OpenGL>>extensions
    "..."
        version >= 1.1 ifTrue:[
            extensions addAll: #(
                'GL_EXT_blend_logic_op'
                'GL_EXT_copy_texture'
                'GL_EXT_polygon_offset'
    "..."

should become
    OpenGL>>extensions
    "..."
        version >= 1.1 ifTrue:[
            extensions addAll: #(
                #'GL_EXT_blend_logic_op'
                #'GL_EXT_copy_texture'
                #'GL_EXT_polygon_offset'
    "..."
In fact the list of extensions contains symbols
    extensions := extensions collect:[:str| str asSymbol].

see at the beginning of OpenGL>>extensions:
OpenGL>>extensions
    "..."
    extensions := (self glGetString: GLExtensions) fromCString.
    extensions := extensions findTokens: ' '.
    extensions := extensions collect:[:str| str asSymbol].
related to 0006338new  OpenGL GL_ARB_transpose_matrix / glLoadTransposeMatrixf: / glMultTransposeMatrixf: 

Notes
(0007626)
andreas   
10-08-06 00:52   
Fixed.