mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
fix linux compile errors
This commit is contained in:
parent
e300c272ab
commit
d48e2dae46
@ -47,7 +47,7 @@ else:
|
||||
#VGCANVAS='CAIRO'
|
||||
#NANOVG_BACKEND='GLES2'
|
||||
#NANOVG_BACKEND='GLES3'
|
||||
#NANOVG_BACKEND='AGG'
|
||||
NANOVG_BACKEND='AGG'
|
||||
#NANOVG_BACKEND='AGGE'
|
||||
#NANOVG_BACKEND='BGFX'
|
||||
|
||||
|
@ -69,7 +69,7 @@ static const graphic_buffer_vtable_t s_graphic_buffer_default_vtable = {
|
||||
.unlock = graphic_buffer_default_unlock,
|
||||
.destroy = graphic_buffer_default_destroy};
|
||||
|
||||
static graphic_buffer_t* graphic_buffer_default_create(uint32_t w, uint32_t h,
|
||||
graphic_buffer_t* graphic_buffer_default_create(uint32_t w, uint32_t h,
|
||||
bitmap_format_t format,
|
||||
uint32_t line_length) {
|
||||
uint32_t size = 0;
|
||||
@ -101,7 +101,6 @@ static graphic_buffer_t* graphic_buffer_default_create(uint32_t w, uint32_t h,
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
B
|
||||
|
||||
graphic_buffer_t* graphic_buffer_default_create_with_const_data(const uint8_t* data) {
|
||||
graphic_buffer_default_t* buffer = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user