diff --git a/gfx/d3d/d3d.cpp b/gfx/d3d/d3d.cpp index 25f6bceb4d..ecf4b274c1 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -167,8 +167,7 @@ void d3d_make_d3dpp(void *data, unsigned width = 0; unsigned height = 0; - if (d3d->ctx_driver && d3d->ctx_driver->get_video_size) - d3d->ctx_driver->get_video_size(d3d, &width, &height); + gfx_ctx_get_video_size(d3d, &width, &height); d3d->screen_width = width; d3d->screen_height = height; diff --git a/gfx/d3d/d3d_wrapper.cpp b/gfx/d3d/d3d_wrapper.cpp index 3beb8dd61a..1bbc22ba7c 100644 --- a/gfx/d3d/d3d_wrapper.cpp +++ b/gfx/d3d/d3d_wrapper.cpp @@ -386,10 +386,12 @@ void d3d_enable_alpha_blend_texture_func(void *data) if (!dev) return; +#ifndef _XBOX360 /* Also blend the texture with the set alpha value. */ dev->SetTextureStageState(0, D3DTSS_ALPHAOP, D3DTOP_MODULATE); dev->SetTextureStageState(0, D3DTSS_ALPHAARG1, D3DTA_DIFFUSE); dev->SetTextureStageState(0, D3DTSS_ALPHAARG2, D3DTA_TEXTURE); +#endif } void d3d_frame_postprocess(void *data) diff --git a/msvc/msvc-2010/RetroArch-msvc2010.vcxproj b/msvc/msvc-2010/RetroArch-msvc2010.vcxproj index 50dd076579..3d8e4ad867 100644 --- a/msvc/msvc-2010/RetroArch-msvc2010.vcxproj +++ b/msvc/msvc-2010/RetroArch-msvc2010.vcxproj @@ -189,8 +189,9 @@ + - + \ No newline at end of file diff --git a/msvc/msvc-2010/RetroArch-msvc2010.vcxproj.filters b/msvc/msvc-2010/RetroArch-msvc2010.vcxproj.filters index eb7b12017f..3297784a4c 100644 --- a/msvc/msvc-2010/RetroArch-msvc2010.vcxproj.filters +++ b/msvc/msvc-2010/RetroArch-msvc2010.vcxproj.filters @@ -12,5 +12,8 @@ griffin + + griffin + \ No newline at end of file