mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-04 13:28:07 +00:00
[Renderers/Win32_GDI] first pass, fixed build errors and added build script
This commit is contained in:
parent
a782df73a1
commit
a92ec772e1
@ -8,10 +8,10 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#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"
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <Windows.h>
|
||||
#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);
|
||||
|
Loading…
Reference in New Issue
Block a user