projects
/
vg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
17dc0af
)
add none compiler
author
hgn
<hgodden00@gmail.com>
Mon, 4 Dec 2023 16:51:57 +0000
(16:51 +0000)
committer
hgn
<hgodden00@gmail.com>
Mon, 4 Dec 2023 16:51:57 +0000
(16:51 +0000)
vg.h
patch
|
blob
|
history
vg_build.h
patch
|
blob
|
history
diff --git
a/vg.h
b/vg.h
index 4b8956a1989c7cd5ff7ba57d7b65712a606de78a..753da33dd706027392d6e5f2828587dd433f4323 100644
(file)
--- a/
vg.h
+++ b/
vg.h
@@
-173,6
+173,7
@@
struct vg{
quality_profile;
float loader_ring;
quality_profile;
float loader_ring;
+ GLuint tex_missing;
}
static vg = { .time_rate = 1.0 };
const char *vg_get_basepath(void){
}
static vg = { .time_rate = 1.0 };
const char *vg_get_basepath(void){
@@
-292,6
+293,7
@@
static void _vg_load_full( void *data )
vg_preload();
/* internal */
vg_preload();
/* internal */
+ vg_tex2d_replace_with_error( &vg.tex_missing );
vg_loader_step( vg_input_init, vg_input_free );
vg_loader_step( vg_lines_init, NULL );
#ifndef VG_NO_AUDIO
vg_loader_step( vg_input_init, vg_input_free );
vg_loader_step( vg_lines_init, NULL );
#ifndef VG_NO_AUDIO
diff --git
a/vg_build.h
b/vg_build.h
index d85764548acb7796d96f72e7237a4b3ea3a7f10c..f7a641ec2d13a5f573a5735b5e77ed31058c2bf0 100644
(file)
--- a/
vg_build.h
+++ b/
vg_build.h
@@
-32,7
+32,8
@@
struct compiler_info
{
k_compiler_clang,
k_compiler_gcc,
{
k_compiler_clang,
k_compiler_gcc,
- k_compiler_mingw
+ k_compiler_mingw,
+ k_compiler_none
}
compiler;
}
compiler;
@@
-79,7
+80,7
@@
void vg_build_include( const char *inc )
const char *vg_compiler_str(void)
{
const char *vg_compiler_str(void)
{
- return (const char *[]){ "clang", "gcc", "i686-w64-mingw32-gcc" }
+ return (const char *[]){ "clang", "gcc", "i686-w64-mingw32-gcc"
, "none"
}
[vg_compiler.compiler];
}
[vg_compiler.compiler];
}