Original Post
i was wonder how to use this commnad using Bitmaps ;for example like this :
Bitmap bmp= new Bitmap(File_Name);
GL.glTexImage2D (GL.GL_TEXTURE_2D ,0,4,BMP.Width ,BMP.Height ,0,GL.GL_RGBA ,GL.GL_UNSIGNED_BYTE ,BMP );
notice that latest parameter in glteximage2d() is a pointer so this way is not possible ; please help me how can i pass my bmp file in parameter correctly cause i need it in my project ; i,m new opengl programmer ; Thanks
New Trend toward emulation
[edited by - MGS 2 on November 30, 2003 6:15:03 PM]