diff options
| author | Tobin Ehlis <tobin@lunarg.com> | 2015-03-17 16:24:32 -0600 |
|---|---|---|
| committer | Chia-I Wu <olv@lunarg.com> | 2015-04-16 17:33:27 +0800 |
| commit | d509bf3d2158111cf08a8a0515a808da1d661752 (patch) | |
| tree | 883a66f605b3770b9125cb3b30d7e079efa513f0 /layers/draw_state.cpp | |
| parent | 664d861da1ce0594f0cff33ef8694d6375399186 (diff) | |
| download | usermoji-d509bf3d2158111cf08a8a0515a808da1d661752.tar.xz | |
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++.
Diffstat (limited to 'layers/draw_state.cpp')
| -rw-r--r-- | layers/draw_state.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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")) |
