Examples: Null: Added Makefile.

This commit is contained in:
omar
2019-04-08 19:16:45 +02:00
parent 1391904fd2
commit b8fe0df7df
3 changed files with 64 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
// dear imgui: null/dummy example application (compile and link imgui with no inputs, no outputs)
// dear imgui: null/dummy example application (compile and link imgui with NO INPUTS, NO OUTPUTS)
// This is useful to test building, but you cannot interact with anything here!
#include "imgui.h"
#include <stdio.h>
@@ -13,7 +14,7 @@ int main(int, char**)
int tex_w, tex_h;
io.Fonts->GetTexDataAsRGBA32(&tex_pixels, &tex_w, &tex_h);
for (int n = 0; n < 50; n++)
for (int n = 0; n < 20; n++)
{
printf("NewFrame() %d\n", n);
io.DisplaySize = ImVec2(1920, 1080);