21 years, 3 months ago
Highlights
21 years, 3 months ago
Sweet, I just moved those globals to ogl.cpp and it works fine. Guess you can't have globals in a .h file.
21 years, 3 months ago
I have 3 files for my project: ogl.h, ogl.cpp, main.cpp(all mine) When i compile(using vc++ or dev-c++) i get that these variables have mulitple instances. int ogl_iWidth; int o…
21 years, 3 months ago
i don't know if anyone will be able to help but i keep getting a debug error of DAMAGE: after Normal block (#71) at 0x00491E20. If I press ignore it will continue. When I get to…
21 years, 8 months ago
I've got code that executes but I can't seem to make it draw to the screen this is my main code CDisplay my_dx; struct sprite { CSurface *lpCD; LPDIRECTDRAWSURFACE7 lpDDS; int w…
21 years, 9 months ago
Latest Activity
See all in DiscussionsSweet, I just moved those globals to ogl.cpp and it works fine. Guess you can't have globals in a .h …
21 years, 3 months ago
I have used #ifndef#ifndef OGL_H#define OGL_H//#pragma warning(disable:4305)//#pragma comment(lib, "lglu32.lib")//#pragma comment(lib, "lopengl32.lib")#include <windows.h>#include <gl/gl.h>
21 years, 3 months ago
I have 3 files for my project: ogl.h, ogl.cpp, main.cpp(all mine) When i compile(using vc++ or dev-c++) i get that …
21 years, 3 months ago