Pārlūkot izejas kodu

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

legacy
Benlitz benlitz pirms 11 gadiem
vecāks
revīzija
c75c255e26
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/gpu/framebuffer.cpp

+ 1
- 1
src/gpu/framebuffer.cpp Parādīt failu

@@ -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)))


Notiek ielāde…
Atcelt
Saglabāt