Skip to content

Commit

Permalink
Fix a switch missing value warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Aug 5, 2016
1 parent fd546ff commit 360be40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GPU/GPU.cpp
Expand Up @@ -64,11 +64,11 @@ bool GPU_Init(GraphicsContext *ctx, Thin3DContext *thin3d) {
break;
case GPUCORE_DIRECTX11:
return false;
#ifndef NO_VULKAN
case GPUCORE_VULKAN:
#ifndef NO_VULKAN
SetGPU(new GPU_Vulkan(ctx));
break;
#endif
break;
}

return gpu != NULL;
Expand Down

0 comments on commit 360be40

Please sign in to comment.