First, I'd like to thank you guys for helping me. I really appreciate your time.
ilCopyPixels does not create data, but just assigns it. Just to clear that up.
(unsigned...
Type: Posts; User: CornJer
First, I'd like to thank you guys for helping me. I really appreciate your time.
ilCopyPixels does not create data, but just assigns it. Just to clear that up.
(unsigned...
Hi, I'm using the DevIL image library to load an image for OpenGL. I've created a class to load textures simply by running a single function. and for some reason, whenever I run this code:
...
Excellent! It runs perfectly now!
Thanks a bundle!
Odd. If thats so, why does it give me this error?
global.entities[global.numbofentities] = this;
http://img100.imageshack.us/img100/760/error3ti9.png
Sorry to keep pestering you. ;)
Yeah, sorry, meant entities.
So if the keyword "this" doesn't point to an instance of class's address, what does?
Thanks!
But now it gives me this error as well:
http://img135.imageshack.us/img135/1672/error2rk2.png
The error is in the link.
http://img170.imageshack.us/img170/9614/whatdk4.png
I'm trying to create a game for my own entertainement, and for some reason, it gives me an error.
I'm posting the entire thing so far.
Main.cpp
//Inculde the main header file
#include...