mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 12:40:09 +00:00
Update MSVC solutions - 360 buildfix
This commit is contained in:
parent
7c44f3e33e
commit
81cd5df961
@ -167,8 +167,7 @@ void d3d_make_d3dpp(void *data,
|
|||||||
unsigned width = 0;
|
unsigned width = 0;
|
||||||
unsigned height = 0;
|
unsigned height = 0;
|
||||||
|
|
||||||
if (d3d->ctx_driver && d3d->ctx_driver->get_video_size)
|
gfx_ctx_get_video_size(d3d, &width, &height);
|
||||||
d3d->ctx_driver->get_video_size(d3d, &width, &height);
|
|
||||||
|
|
||||||
d3d->screen_width = width;
|
d3d->screen_width = width;
|
||||||
d3d->screen_height = height;
|
d3d->screen_height = height;
|
||||||
|
@ -386,10 +386,12 @@ void d3d_enable_alpha_blend_texture_func(void *data)
|
|||||||
if (!dev)
|
if (!dev)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#ifndef _XBOX360
|
||||||
/* Also blend the texture with the set alpha value. */
|
/* Also blend the texture with the set alpha value. */
|
||||||
dev->SetTextureStageState(0, D3DTSS_ALPHAOP, D3DTOP_MODULATE);
|
dev->SetTextureStageState(0, D3DTSS_ALPHAOP, D3DTOP_MODULATE);
|
||||||
dev->SetTextureStageState(0, D3DTSS_ALPHAARG1, D3DTA_DIFFUSE);
|
dev->SetTextureStageState(0, D3DTSS_ALPHAARG1, D3DTA_DIFFUSE);
|
||||||
dev->SetTextureStageState(0, D3DTSS_ALPHAARG2, D3DTA_TEXTURE);
|
dev->SetTextureStageState(0, D3DTSS_ALPHAARG2, D3DTA_TEXTURE);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void d3d_frame_postprocess(void *data)
|
void d3d_frame_postprocess(void *data)
|
||||||
|
@ -189,6 +189,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\griffin\griffin.c" />
|
<ClCompile Include="..\..\griffin\griffin.c" />
|
||||||
|
<ClCompile Include="..\..\griffin\griffin_cpp.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
@ -12,5 +12,8 @@
|
|||||||
<ClCompile Include="..\..\griffin\griffin.c">
|
<ClCompile Include="..\..\griffin\griffin.c">
|
||||||
<Filter>griffin</Filter>
|
<Filter>griffin</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\griffin\griffin_cpp.cpp">
|
||||||
|
<Filter>griffin</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
Loading…
x
Reference in New Issue
Block a user