Jump to content

  • Log In with Google      Sign In   
  • Create Account

Texture / PixelFormat


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Metus   Members   -  Reputation: 168

Like
Likes
Like

Posted 16 July 2001 - 06:18 AM

Hi! I''ve got some problems with my OpenGL Wrapper for the snes emulator zsnes; everything works on nVidia TnT1+ classed adapters and on ATI Radeon (As far as I know). If the emulator is started on ANYTHING except this, I''ll just see a white box! My code is based on NeHe''s code, that works on almost every card but the only difference is that I''m using the GL_UNSIGNED_SHORT_5_6_5 taken from the GLEXT.H (I think that''s a header from the OpenGL 1.2 SDK) instead of the GL_UNSIGNED_BYTE that''s used in NeHe''s tutorials. Is there any other alternatives supported it OpenGL 1.1 SDK instead of the 1.2 SDK GL_UNSIGNED_SHORT_5_6_5?

Sponsor:

#2 Obelix   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 July 2001 - 05:33 AM

All drivers that supports 1.2 or greater should work. (Check gl12Supported = atof(glGetString(GL_VERSION)) >= 1.2; )

If 1.2 is not supported can you check if EXT_packed_pixels is supported. See
http://oss.sgi.com/projects/ogl-sample/registry/EXT/packed_pixels.txt

The MSDN documentation for glTexImage2D
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/hh/opengl/glfunc03_16jo.asp





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS