summaryrefslogtreecommitdiffstats
path: root/RenderScript
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-02 23:44:35 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-02 23:44:35 +0000
commitaf7b2532157bf15e7d9c75c44e949495ce06dd51 (patch)
tree15c98e9ef2b99dc60c4c9b2f3cde6366874150ac /RenderScript
parentReplaced CLEAR_RENDER_TARGET_STATE_TRANSITION_MODE with RESOURCE_STATE_TRANSI... (diff)
downloadDiligentTools-af7b2532157bf15e7d9c75c44e949495ce06dd51.tar.gz
DiligentTools-af7b2532157bf15e7d9c75c44e949495ce06dd51.zip
Updating file missed in last comit
Diffstat (limited to 'RenderScript')
-rw-r--r--RenderScript/src/DeviceContextFuncBindings.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/RenderScript/src/DeviceContextFuncBindings.cpp b/RenderScript/src/DeviceContextFuncBindings.cpp
index 18662e6..f006438 100644
--- a/RenderScript/src/DeviceContextFuncBindings.cpp
+++ b/RenderScript/src/DeviceContextFuncBindings.cpp
@@ -56,10 +56,6 @@ namespace Diligent
DEFINE_ENUM_ELEMENT_MAPPING( m_SetRenderTargetsFlagsEnumMapping, SET_RENDER_TARGETS_FLAG_TRANSITION_ALL );
DEFINE_ENUM_ELEMENT_MAPPING( m_SetRenderTargetsFlagsEnumMapping, SET_RENDER_TARGETS_FLAG_VERIFY_STATES );
- DEFINE_ENUM_ELEMENT_MAPPING( m_ClearRTStateTransitionModeMapping, CLEAR_RENDER_TARGET_NO_TRANSITION );
- DEFINE_ENUM_ELEMENT_MAPPING( m_ClearRTStateTransitionModeMapping, CLEAR_RENDER_TARGET_TRANSITION_STATE );
- DEFINE_ENUM_ELEMENT_MAPPING( m_ClearRTStateTransitionModeMapping, CLEAR_RENDER_TARGET_VERIFY_STATE );
-
DEFINE_ENUM_ELEMENT_MAPPING( m_ClearDepthStencilFlagsEnumMapping, CLEAR_DEPTH_FLAG_NONE );
DEFINE_ENUM_ELEMENT_MAPPING( m_ClearDepthStencilFlagsEnumMapping, CLEAR_DEPTH_FLAG );
DEFINE_ENUM_ELEMENT_MAPPING( m_ClearDepthStencilFlagsEnumMapping, CLEAR_STENCIL_FLAG );
@@ -140,12 +136,12 @@ namespace Diligent
RGBA[c] = ReadValueFromLua<Float32>( L, CurrArg );
}
- CLEAR_RENDER_TARGET_STATE_TRANSITION_MODE StateTransitionMode = CLEAR_RENDER_TARGET_NO_TRANSITION;
+ RESOURCE_STATE_TRANSITION_MODE StateTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE;
if( CurrArg <= NumArgs &&
(lua_type( L, CurrArg ) == LUA_TSTRING ||
lua_type( L, CurrArg ) == LUA_TTABLE ) )
{
- EnumMemberBinder<CLEAR_RENDER_TARGET_STATE_TRANSITION_MODE> StateTransitionModeLoader(0, "ClearRTStateTransitionMode", m_ClearRTStateTransitionModeMapping);
+ EnumMemberBinder<RESOURCE_STATE_TRANSITION_MODE> StateTransitionModeLoader(0, "ClearRTStateTransitionMode", m_StateTransitionModeMapping);
StateTransitionModeLoader.SetValue( L, CurrArg, &StateTransitionMode );
++CurrArg;
}