Changeset 1823


Ignore:
Timestamp:
Aug 27, 2012, 2:16:52 PM (8 years ago)
Author:
sam
Message:

gpu: use a valid default framebuffer color format on the PS3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gpu/framebuffer.cpp

    r1781 r1823  
    8787    GLenum format = GL_BGRA;
    8888    GLenum depth = GL_DEPTH_COMPONENT;
     89#   elif defined __CELLOS_LV2__
     90    /* Supported drawable formats on the PS3: GL_ARGB_SCE, GL_RGB16F_ARB,
     91     * GL_RGBA16F_ARB, GL_RGB32F_ARB, GL_RGBA32F_ARB, GL_LUMINANCE32F_ARB. */
     92    GLenum internal_format = GL_ARGB_SCE;
     93    GLenum format = GL_RGBA;
    8994#   else
    9095    GLenum internal_format = GL_RGBA;
Note: See TracChangeset for help on using the changeset viewer.