Ignore:
Timestamp:
Nov 21, 2011, 1:49:47 AM (8 years ago)
Author:
sam
Message:

core: port all code to NativeClient. Nothing runs for now, but it builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/tutorial/tut03.cpp

    r1079 r1082  
    3535static GLenum const TEXTURE_FORMAT = GL_BGRA;
    3636static GLenum const TEXTURE_TYPE = GL_UNSIGNED_INT_8_8_8_8_REV;
     37#elif defined __native_client__
     38static GLint const INTERNAL_FORMAT = GL_RGBA;
     39static GLenum const TEXTURE_FORMAT = GL_RGBA;
     40static GLenum const TEXTURE_TYPE = GL_UNSIGNED_BYTE;
    3741#else
    3842/* Seems efficient for little endian textures */
Note: See TracChangeset for help on using the changeset viewer.