diff --git a/examples/win32_gdi/main.c b/examples/win32_gdi/main.c index a957be6..f197a1f 100644 --- a/examples/win32_gdi/main.c +++ b/examples/win32_gdi/main.c @@ -8,10 +8,10 @@ #include -#include "clay_renderer_gdi.c" +#include "../../renderers/win32_gdi/clay_renderer_gdi.c" #define CLAY_IMPLEMENTATION -#include "../clay/clay.h" +#include "../../clay.h" #include "../shared-layouts/clay-video-demo.c" diff --git a/renderers/win32_gdi/clay_renderer_gdi.c b/renderers/win32_gdi/clay_renderer_gdi.c index 7ec7b05..5bd85e3 100644 --- a/renderers/win32_gdi/clay_renderer_gdi.c +++ b/renderers/win32_gdi/clay_renderer_gdi.c @@ -1,4 +1,5 @@ #include +#include "../../clay.h" HDC renderer_hdcMem = {0}; @@ -114,11 +115,18 @@ void Clay_Win32_Render(HWND hwnd, Clay_RenderCommandArray renderCommands) break; } - // The renderer should draw a colored border inset into the bounding box. - case CLAY_RENDER_COMMAND_TYPE_BORDER: - { - break; - } + // // The renderer should draw a colored border inset into the bounding box. + // case CLAY_RENDER_COMMAND_TYPE_BORDER: + // { + // // TODO: + // break; + // } + + // case CLAY_RENDER_COMMAND_TYPE_IMAGE: + // { + // // TODO: + // break; + // } default: printf("Unhandled render command %d\r\n", renderCommand->commandType);