Kitty Cat: i checked if the texture was loaded, and it was (i also try with load_bitmap), if i comment:
gluBuild2DMipmaps(GL_TEXTURE_2D, 3, pImageBuffer1->w, pImageBuffer1->h, GL_RGBA, GL_UNSIGNED_BYTE, pImageBuffer1->dat);
it doesnt send me and error, but obviously it doesnt maps the texture to the primitive..
Gnolam: how do i use the GLuint allegro_gl_make_texture_ex (int flags, BITMAP* bmp, GLint internal_format)
i read the docs, but i'm not sure what should i send in the "GLint internal_format" parameter. can you give me a little example how would it be the complete method?
HoHo: then why did it worked perfectly in my other computer? i only recompiled it in my lap with the same compiler (vs2005) the code is EXACTLY the same