diff --git a/libretro/LibretroD3D11Context.h b/libretro/LibretroD3D11Context.h index 3a3a4a759c..b47755876c 100644 --- a/libretro/LibretroD3D11Context.h +++ b/libretro/LibretroD3D11Context.h @@ -6,7 +6,7 @@ class LibretroD3D11Context : public LibretroHWRenderContext { public: - LibretroD3D11Context() : LibretroHWRenderContext(RETRO_HW_CONTEXT_DIRECT3D, 11) {} + LibretroD3D11Context() : LibretroHWRenderContext(RETRO_HW_CONTEXT_D3D11, 11) {} bool Init() override; void SwapBuffers() override; diff --git a/libretro/LibretroGraphicsContext.cpp b/libretro/LibretroGraphicsContext.cpp index a5d6f2931e..cc7a272e27 100644 --- a/libretro/LibretroGraphicsContext.cpp +++ b/libretro/LibretroGraphicsContext.cpp @@ -133,7 +133,7 @@ LibretroGraphicsContext *LibretroGraphicsContext::CreateGraphicsContext() { #endif #ifdef _WIN32 - if (preferred == RETRO_HW_CONTEXT_DUMMY || preferred == RETRO_HW_CONTEXT_DIRECT3D) { + if (preferred == RETRO_HW_CONTEXT_DUMMY || preferred == RETRO_HW_CONTEXT_D3D11) { ctx = new LibretroD3D11Context(); if (ctx->Init()) {