mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Examples: Null: Added Makefile.
This commit is contained in:
parent
1391904fd2
commit
b8fe0df7df
3 changed files with 64 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue