vrend: fix signed 31-bit shift.

Fixes: #68
macos/master
Dave Airlie 6 years ago
parent 9b7a109c0a
commit 967062325b
  1. 2
      src/vrend_renderer.c

@ -6831,7 +6831,7 @@ void vrend_set_polygon_stipple(struct vrend_context *ctx,
struct pipe_poly_stipple *ps)
{
if (vrend_state.use_core_profile) {
static const unsigned bit31 = 1 << 31;
static const unsigned bit31 = 1u << 31;
GLubyte *stip = calloc(1, 1024);
int i, j;

Loading…
Cancel
Save