From d509bf3d2158111cf08a8a0515a808da1d661752 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Tue, 17 Mar 2015 16:24:32 -0600 Subject: layers: Migrated DrawState layer to cpp Move almost all linked-lists to unordered_maps and vectors. Clean up malloc/free with new/delete. Skip write-strings compile warnings for graphviz_helper. Still need to migrate the DS update tree to c++. --- layers/draw_state.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'layers/draw_state.cpp') diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index ef048e57..520b6a3a 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -1603,7 +1603,6 @@ XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglCreateGraphicsPipelineDerivative( track_pipeline(pCreateInfo, pPipeline); loader_platform_thread_unlock_mutex(&globalLock); - return result; } XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglCreateSampler(XGL_DEVICE device, const XGL_SAMPLER_CREATE_INFO* pCreateInfo, XGL_SAMPLER* pSampler) @@ -2755,6 +2754,8 @@ XGL_LAYER_EXPORT void* XGLAPI xglGetProcAddr(XGL_PHYSICAL_GPU gpu, const char* f return (void*) xglCreateImageView; if (!strcmp(funcName, "xglCreateGraphicsPipeline")) return (void*) xglCreateGraphicsPipeline; + if (!strcmp(funcName, "xglCreateGraphicsPipelineDerivative")) + return (void*) xglCreateGraphicsPipelineDerivative; if (!strcmp(funcName, "xglCreateSampler")) return (void*) xglCreateSampler; if (!strcmp(funcName, "xglCreateDescriptorSetLayout")) -- cgit v1.2.3