Codesnippets > Code Snippets

OpenGL calls

<< < (5/6) > >>

MikeHart:
Yes a nice glb file which inlines ogles would be awesome.

bigsofty:
In a sense, there should be no need, I would imagine that GLB compiler already links to one, if you could IMPORT (with GLBs default lib paths) the commands that your program required, that would be ideal for me, no worrying about version etc... no real idea if this is really possible though? :P

Schranz0r:
?

http://www.glbasic.com/files/gl.gbas

StuC_Ovine:

that file errors all over the place


--- Code: (glbasic) ---
compiling:
D:\temp\glbasic\gpc_temp0.cpp: In function `DGInt __GLBASIC__::glPolygonStipple(__GLBASIC__::DGIntArray&)':
D:\temp\glbasic\gpc_temp0.cpp:442: error: no match for call to `(__GLBASIC__::DGIntArray) (int&, int&)'
C:/Program Files/GLBasic/Compiler/platform/Include/glb.h:355: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Program Files/GLBasic/Compiler/platform/Include/glb.h:394: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
D:\temp\glbasic\gpc_temp0.cpp: In function `DGInt __GLBASIC__::glGetPolygonStipple(__GLBASIC__::DGIntArray&)':
D:\temp\glbasic\gpc_temp0.cpp:470: error: no match for call to `(__GLBASIC__::DGIntArray) (int&, int&)'
C:/Program Files/GLBasic/Compiler/platform/Include/glb.h:355: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Program Files/GLBasic/Compiler/platform/Include/glb.h:394: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()


--- End code ---


Schranz0r:
Oooops....


Look at Samples/Common/gl.gbas

works fine!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version