mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 22:38:34 +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 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;
|
||||
|
@ -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)
|
||||
|
@ -189,8 +189,9 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\griffin\griffin.c" />
|
||||
<ClCompile Include="..\..\griffin\griffin_cpp.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
@ -12,5 +12,8 @@
|
||||
<ClCompile Include="..\..\griffin\griffin.c">
|
||||
<Filter>griffin</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\griffin\griffin_cpp.cpp">
|
||||
<Filter>griffin</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user