I do have latest drivers and other opengl applications run fine.
I herd of GLEW but i have no idea what i should do with it.
EDIT: I have fixed it. It seems that my textures werent even loaded so...
Type: Posts; User: OhSnapEpicPwnage
I do have latest drivers and other opengl applications run fine.
I herd of GLEW but i have no idea what i should do with it.
EDIT: I have fixed it. It seems that my textures werent even loaded so...
Ever since i got a new computer which has nvidia gt 440 inside, im unable to do texture mapping the way i used to do.
This project https://github.com/MrBagamen/Pickin--NIGGS used to compile and run...
This is the code: http://pastebin.com/xt4pg33g
Whenever i try calling glTexImage2D, it doesnt run i just get message "Process returned 3 (0x3)"
I've done Texture Mapping before and i never had...
Thanks man.
Its working flawlessly now.
This is my code here:
#include <SDL/SDL.h>
#include <gl/gl.h>
#include <gl/glu.h>
#include <gl/glaux.h>
SDL_Surface *screen;
SDL_Event event;
Thanks man!
Only that
glOrtho(0.0, 800.0, 600.0, 0.0, 1000.0, 1000.0);
fails,but works if i do
glOrtho(0.0, 800.0, 600.0, 0.0, 1000.0, -1000.0);
then it works just fine.
Why does this fail?
Whenever angle is set to 0 shape is visible, but when its increased to 0.1 or higher then the shape dissappears :S.
#include "SDL/SDL.h"
#include <gl/gl.h>
#include...