Re: OpenGL 3.3 Base (windows)
Posted: Thu Feb 16, 2012 8:35 pm
Thanks xorc1zt! Very nice, but did not work out of the box:
- first nothing happend when starting the examples
- enabled debugger, it told me opengl subsystem is required (can you set opengl subsys in you examples by default?)
- added subsystem opengl in compileroptions for all 3 examples
- always same crash:
- I replaced the 2 macros with:
- now the error comes for: id = glCreateShader( type )
Now i disabled unicode mode and everything works fine!
In Unicode mode many functions are Null, OpenGL Info is:
With disabled unicode mode everything is fine:
Does GetFunction() in setGLCORE not work with unicode strings?
You may want the full log files: pbgl_log.zip
Thank you!
- first nothing happend when starting the examples
- enabled debugger, it told me opengl subsystem is required (can you set opengl subsys in you examples by default?)
- added subsystem opengl in compileroptions for all 3 examples
- always same crash:
Code: Select all
[ERROR] Invalid memory access. (read error at address 0)
Code: Select all
Procedure.s glGetStringi(name,index)
Define *stringpointer
If glGetStringi_
*stringpointer = glGetStringi_(name,index)
If *stringpointer
ProcedureReturn PeekS( *stringpointer )
EndIf
EndIf
ProcedureReturn "#NULL"
EndProcedure
Procedure.s glGetString(name)
Define *stringpointer
If glGetString_
*stringpointer = glGetString_(name)
If *stringpointer
ProcedureReturn PeekS( *stringpointer )
EndIf
EndIf
ProcedureReturn "#NULL"
EndProcedure
Code: Select all
[ERROR] Invalid memory access. (read error at address 0)
Now i disabled unicode mode and everything works fine!
In Unicode mode many functions are Null, OpenGL Info is:
Code: Select all
--- OpenGL Infos:
OpenGL Vendor: 呁⁉敔档潮潬楧獥䤠据.
OpenGL Renderer: 䵁⁄慒敤湯䠠⁄㤶〰匠牥敩s 6900 Series
OpenGL Version: ⸴⸲ㄱ㤳‹潃灭瑡扩汩瑩⁹牐景汩潃瑮硥t
OpenGL Shader: ⸴〲㤳9
Code: Select all
--- OpenGL Infos:
OpenGL Vendor: ATI Technologies Inc.
OpenGL Renderer: AMD Radeon HD 6900 Series
OpenGL Version: 4.2.11399 Compatibility Profile Context
OpenGL Shader: 4.20
You may want the full log files: pbgl_log.zip
Thank you!