projects
/
vg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3013df4
)
small refactors
author
hgn
<hgodden00@gmail.com>
Wed, 13 Sep 2023 05:21:50 +0000
(06:21 +0100)
committer
hgn
<hgodden00@gmail.com>
Wed, 13 Sep 2023 05:21:50 +0000
(06:21 +0100)
vg_imgui.h
patch
|
blob
|
history
vg_input.h
patch
|
blob
|
history
diff --git
a/vg_imgui.h
b/vg_imgui.h
index 6e8537c2882bd142880951432325396ac1acdd26..b95e3143d806bf09692ce4f83b19d704e140e831 100644
(file)
--- a/
vg_imgui.h
+++ b/
vg_imgui.h
@@
-984,12
+984,11
@@
static void ui_standard_widget( ui_rect inout_panel, ui_rect out_rect,
out_rect, inout_panel );
}
-
static void ui_image( ui_rect rect, GLuint image ){
ui_flush( k_ui_shader_colour );
glActiveTexture( GL_TEXTURE0 );
glBindTexture( GL_TEXTURE_2D, image );
- ui_fill_rect( rect, 0xffffffff, (ui_px[4]){ 0,
128, 128,
0 } );
+ ui_fill_rect( rect, 0xffffffff, (ui_px[4]){ 0,
256,256,
0 } );
ui_flush( k_ui_shader_image );
}
diff --git
a/vg_input.h
b/vg_input.h
index 6b8cd79ee04513aa7ba9e7146edd9ee779b4afae..ecf2432a98cb05ff8ca30053d5e0414a416515bd 100644
(file)
--- a/
vg_input.h
+++ b/
vg_input.h
@@
-9,8
+9,7
@@
VG_STATIC float controller_deadzone = 0.05f;
-struct
-{
+struct{
const u8 *sdl_keys;
struct vg_controller{