diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-06-17 06:49:11 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-06-17 06:49:11 +0300 |
commit | 0a08c5cd36d32e72110e9452e0278527ef42bc70 (patch) | |
tree | aa2b906bf7aff88a8deee54d407a5fa3ce019eb0 /intern | |
parent | 45591cc0dfc6065fa34697b93ef9b23b50f38b72 (diff) |
Fix : Build error with uchar in intern_gawain.
error introduced by D3483, intern_gawain has no access to bli_systypes.h
Diffstat (limited to 'intern')
-rw-r--r-- | intern/gawain/gawain/gwn_vertex_buffer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/intern/gawain/gawain/gwn_vertex_buffer.h b/intern/gawain/gawain/gwn_vertex_buffer.h index 87606ed47c8..b92e4a87698 100644 --- a/intern/gawain/gawain/gwn_vertex_buffer.h +++ b/intern/gawain/gawain/gwn_vertex_buffer.h @@ -34,7 +34,7 @@ typedef struct Gwn_VertBuf { unsigned vertex_ct; // number of verts we want to draw unsigned vertex_alloc; // number of verts data bool dirty; - uchar* data; // NULL indicates data in VRAM (unmapped) + unsigned char* data; // NULL indicates data in VRAM (unmapped) uint32_t vbo_id; // 0 indicates not yet allocated Gwn_UsageType usage; // usage hint for GL optimisation } Gwn_VertBuf; @@ -71,17 +71,17 @@ void GWN_vertbuf_attr_fill_stride(Gwn_VertBuf*, unsigned a_idx, unsigned stride, typedef struct Gwn_VertBufRaw { unsigned size; unsigned stride; - uchar* data; - uchar* data_init; + unsigned char* data; + unsigned char* data_init; #if TRUST_NO_ONE // Only for overflow check - uchar* _data_end; + unsigned char* _data_end; #endif } Gwn_VertBufRaw; GWN_INLINE void *GWN_vertbuf_raw_step(Gwn_VertBufRaw *a) { - uchar* data = a->data; + unsigned char* data = a->data; a->data += a->stride; #if TRUST_NO_ONE assert(data < a->_data_end); |