diff options
Diffstat (limited to 'src/core/clip.h')
-rw-r--r-- | src/core/clip.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/clip.h b/src/core/clip.h index 2ac733d..c1bb7b6 100644 --- a/src/core/clip.h +++ b/src/core/clip.h @@ -26,7 +26,8 @@ typedef struct { Vec4 temp_reg_v4[REG_V4_COUNT][CLIP_BUFFER_SIZE]; } ClippedBuffer; -ClippedBuffer clip_buffer; +ClippedBuffer clip_buffer; /*clipping result*/ +ClippedBuffer temp_clip_buffer; bool clip_triangle(Vec4* c0, Vec4* c1, Vec4* c2, Vert* v0, Vert* v1, Vert* v2, uint varying_flag, ClippedBuffer* clipped); |