Changeset 1994


Ignore:
Timestamp:
Oct 9, 2012, 9:21:20 AM (5 years ago)
Author:
sam
Message:

gpu: D3DFMT_R8G8B8 doesn't seem to exist on the X360.

File:
1 edited

Legend:

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

    r1992 r1994  
    7272
    7373#if defined USE_D3D9 || defined _XBOX
    74     static int const d3d_formats[] =
     74    static D3DFORMAT const d3d_formats[] =
    7575    {
    7676        /* Unknown */
     
    7878
    7979        /* R8G8B8 */
     80#   if defined USE_D3D9
    8081        D3DFMT_R8G8B8,
     82#   else
     83        D3DFMT_UNKNOWN,
     84#   endif
    8185
    8286        /* A8R8G8B8 */
     
    8993    };
    9094
    91     int d3d_format = GET_CLAMPED(d3d_formats, format);
     95    D3DFORMAT d3d_format = GET_CLAMPED(d3d_formats, format);
    9296#   if defined USE_D3D9
    9397    int d3d_usage = D3DUSAGE_DYNAMIC;
Note: See TracChangeset for help on using the changeset viewer.