projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
imgui stuff
[carveJwlIkooP6JGAAIwe30JlM.git]
/
render.h
diff --git
a/render.h
b/render.h
index 440af479f605195d0c763d27e88ef55e631ec1b3..b6172283121632b9d18ac0ac6395e300b8c5341f 100644
(file)
--- a/
render.h
+++ b/
render.h
@@
-515,11
+515,11
@@
VG_STATIC void async_render_init( void *payload, u32 size )
}
float quad[] = {
}
float quad[] = {
- 0.00f,0.00f, 1.00f,1.00f, 0.00f,1.00f,
- 0.00f,0.00f, 1.00f,0.00f, 1.00f,1.00f,
+ 0.00f,0.00f, 1.00f,1.00f, 0.00f,1.00f,
/* fsquad */
+ 0.00f,0.00f, 1.00f,0.00f, 1.00f,1.00f,
- 0.
20f,0.00f, 0.80f,1.00f, 0.20f,1.00f,
- 0.
20f,0.00f, 0.80f,0.00f, 0.80f,1.00
f,
+ 0.
00f,0.00f, 1.00f,0x1p-4f,0.00f,0x1p-4f, /* fsquad1 */
+ 0.
00f,0.00f, 1.00f,0.00f, 1.00f,0x1p-4
f,
/* 9x9 debug grid */
/* row0 */
/* 9x9 debug grid */
/* row0 */
@@
-570,8
+570,7
@@
VG_STATIC void render_init(void)
shader_blitblur_register();
shader_blitcolour_register();
shader_blitblur_register();
shader_blitcolour_register();
- vg_async_item *call = vg_async_alloc(0);
- vg_async_dispatch( call, async_render_init );
+ vg_async_call( async_render_init, NULL, 0 );
}
/*
}
/*
@@
-594,6
+593,7
@@
VG_STATIC void render_fsquad1(void)
*/
VG_STATIC void render_view_framebuffer_ui(void)
{
*/
VG_STATIC void render_view_framebuffer_ui(void)
{
+#if 0
int viewing_count = 0;
glBindVertexArray( gpipeline.fsquad.vao );
int viewing_count = 0;
glBindVertexArray( gpipeline.fsquad.vao );
@@
-644,6
+644,7
@@
VG_STATIC void render_view_framebuffer_ui(void)
viewing_count ++;
}
}
viewing_count ++;
}
}
+#endif
}
VG_STATIC void render_framebuffer_show( struct framebuffer *fb,
}
VG_STATIC void render_framebuffer_show( struct framebuffer *fb,