Changeset 2741


Ignore:
Timestamp:
Jun 17, 2013, 5:30:21 PM (6 years ago)
Author:
benlitz
Message:

Fixed D3D9 compilation (note: D3D9 version still not working)

File:
1 edited

Legend:

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

    r2647 r2741  
    285285    if (FAILED(g_d3ddevice->CreateTexture(size.x, size.y, 1,
    286286                                          D3DUSAGE_RENDERTARGET,
    287                                           fbo_format.GetFormat(), D3DPOOL_DEFAULT,
     287                                          (D3DFORMAT)fbo_format.GetFormat(), D3DPOOL_DEFAULT,
    288288                                          &m_data->m_texture, nullptr)))
    289289        Abort();
Note: See TracChangeset for help on using the changeset viewer.