intel: Fix compiler warnings from winsys msaa.
This commit is contained in:
@@ -146,8 +146,6 @@ do_blorp_blit(struct intel_context *intel, GLbitfield buffer_bit,
|
|||||||
GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
|
GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
|
||||||
bool mirror_x, bool mirror_y)
|
bool mirror_x, bool mirror_y)
|
||||||
{
|
{
|
||||||
struct gl_context *ctx = &intel->ctx;
|
|
||||||
|
|
||||||
/* Find source/dst miptrees */
|
/* Find source/dst miptrees */
|
||||||
struct intel_mipmap_tree *src_mt = find_miptree(buffer_bit, src_rb);
|
struct intel_mipmap_tree *src_mt = find_miptree(buffer_bit, src_rb);
|
||||||
struct intel_mipmap_tree *dst_mt = find_miptree(buffer_bit, dst_rb);
|
struct intel_mipmap_tree *dst_mt = find_miptree(buffer_bit, dst_rb);
|
||||||
|
@@ -918,7 +918,7 @@ intel_screen_make_configs(__DRIscreen *dri_screen)
|
|||||||
|
|
||||||
__DRIconfig **new_configs;
|
__DRIconfig **new_configs;
|
||||||
const int num_depth_stencil_bits = 2;
|
const int num_depth_stencil_bits = 2;
|
||||||
int num_msaa_modes;
|
int num_msaa_modes = 0;
|
||||||
|
|
||||||
depth_bits[0] = 0;
|
depth_bits[0] = 0;
|
||||||
stencil_bits[0] = 0;
|
stencil_bits[0] = 0;
|
||||||
|
Reference in New Issue
Block a user