Explorar el Código

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

legacy
Benlitz benlitz hace 11 años
padre
commit
c75c255e26
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/gpu/framebuffer.cpp

+ 1
- 1
src/gpu/framebuffer.cpp Ver fichero

@@ -284,7 +284,7 @@ Framebuffer::Framebuffer(ivec2 size, FramebufferFormat fbo_format)
#if defined USE_D3D9
if (FAILED(g_d3ddevice->CreateTexture(size.x, size.y, 1,
D3DUSAGE_RENDERTARGET,
fbo_format.GetFormat(), D3DPOOL_DEFAULT,
(D3DFORMAT)fbo_format.GetFormat(), D3DPOOL_DEFAULT,
&m_data->m_texture, nullptr)))
Abort();
if (FAILED(m_data->m_texture->GetSurfaceLevel(0, &m_data->m_surface)))


Cargando…
Cancelar
Guardar