cogl: Remove unused variables
This commit is contained in:
parent
ec02a8808e
commit
23598ea74b
@ -400,13 +400,11 @@ _cogl_texture_2d_sliced_upload_to_gl (CoglTexture2DSliced *tex_2ds,
|
|||||||
CoglSpan *x_span;
|
CoglSpan *x_span;
|
||||||
CoglSpan *y_span;
|
CoglSpan *y_span;
|
||||||
CoglHandle slice_tex;
|
CoglHandle slice_tex;
|
||||||
int bpp;
|
|
||||||
int x, y;
|
int x, y;
|
||||||
guint8 *waste_buf;
|
guint8 *waste_buf;
|
||||||
CoglPixelFormat bmp_format;
|
CoglPixelFormat bmp_format;
|
||||||
|
|
||||||
bmp_format = _cogl_bitmap_get_format (bmp);
|
bmp_format = _cogl_bitmap_get_format (bmp);
|
||||||
bpp = _cogl_get_format_bpp (bmp_format);
|
|
||||||
|
|
||||||
waste_buf = _cogl_texture_2d_sliced_allocate_waste_buffer (tex_2ds,
|
waste_buf = _cogl_texture_2d_sliced_allocate_waste_buffer (tex_2ds,
|
||||||
bmp_format);
|
bmp_format);
|
||||||
@ -485,7 +483,6 @@ _cogl_texture_2d_sliced_upload_subregion_to_gl (CoglTexture2DSliced *tex_2ds,
|
|||||||
{
|
{
|
||||||
CoglSpan *x_span;
|
CoglSpan *x_span;
|
||||||
CoglSpan *y_span;
|
CoglSpan *y_span;
|
||||||
int bpp;
|
|
||||||
CoglSpanIter x_iter;
|
CoglSpanIter x_iter;
|
||||||
CoglSpanIter y_iter;
|
CoglSpanIter y_iter;
|
||||||
CoglHandle slice_tex;
|
CoglHandle slice_tex;
|
||||||
@ -496,7 +493,6 @@ _cogl_texture_2d_sliced_upload_subregion_to_gl (CoglTexture2DSliced *tex_2ds,
|
|||||||
CoglPixelFormat source_format;
|
CoglPixelFormat source_format;
|
||||||
|
|
||||||
source_format = _cogl_bitmap_get_format (source_bmp);
|
source_format = _cogl_bitmap_get_format (source_bmp);
|
||||||
bpp = _cogl_get_format_bpp (source_format);
|
|
||||||
|
|
||||||
waste_buf =
|
waste_buf =
|
||||||
_cogl_texture_2d_sliced_allocate_waste_buffer (tex_2ds, source_format);
|
_cogl_texture_2d_sliced_allocate_waste_buffer (tex_2ds, source_format);
|
||||||
|
Loading…
Reference in New Issue
Block a user