OpenGL ?!

Everything else that doesn't fall into one of the other PB categories.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by preacher.

I know that all functions are supposed to be directly available in Pure Basic but it seems like some functions are not even I locate them manually in the lib file directory. Like glVertex##(params..) where ## can be anything including 2f
2i and so on witch are commands I know exists and work from C/C++..
Does anyone know why?



[Preacher]
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Mr.Skunk.

Sorry, i don't understand your question (some problems with my english). Can you explain more clearly please?


Mr Skunk

Mr Skunk's PureBasic Web Page
http://www.skunknet.fr.st
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by preacher.

My question is this: why doesn't glVertex2f(100,100) work?
The Pure Basic output is:

Starting compilation
Line 53: glVertex2f_() is not a function, an array, or a linked list

Thx in advance.
Preacher




[Preacher]
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Mr.Skunk.

The reason for this message is that the function is simply not included in the PBCompiler.


Mr Skunk

Mr Skunk's PureBasic Web Page
http://www.skunknet.fr.st
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by preacher.

But why are they (there are several others) not when all windows libs are and opengl is infact a part of that. I guess Fred has to answer that.

Anyway Thanks Mr. Skunk.

Preacher



[Preacher]
Post Reply