Added Win32 support

This commit is contained in:
Michael Smith
2019-01-15 11:26:44 +01:00
parent e867778b4c
commit 5b572c214c
129 changed files with 42924 additions and 2 deletions

View File

@@ -38,8 +38,8 @@ PluginUpdateAndRender(plugin_offscreen_buffer *Buffer)
float r = float(X) / float(Buffer->Width);
float g = float(Y) / float(Buffer->Height);
float b = 0.2;
int ir = int(255.99 * r);
int ig = int(255.99 * g);
int ig = int(255.99 * r);
int ir = int(255.99 * g);
int ib = int(255.99 * b);
*Pixel++ = (ir << 24) + (ig << 16) + (ib << 8) + 0xFF;