Преглед на файлове

Don't compile WriteMonoDepthSpan if HAVE_HW_DEPTH_SPANS is defined -- it won't

be used in that case, and it wanting WRITE_DEPTH was making r128 die on
the undefined symbol.
tags/unichrome-last-xinerama
Eric Anholt преди 21 години
родител
ревизия
b4d269f35f
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2
    0
      src/mesa/drivers/dri/common/depthtmp.h

+ 2
- 0
src/mesa/drivers/dri/common/depthtmp.h Целия файл

@@ -64,6 +64,7 @@ static void TAG(WriteDepthSpan)( GLcontext *ctx,
HW_WRITE_UNLOCK();
}

#if !HAVE_HW_DEPTH_SPANS
static void TAG(WriteMonoDepthSpan)( GLcontext *ctx,
GLuint n, GLint x, GLint y,
const GLdepth depth,
@@ -99,6 +100,7 @@ static void TAG(WriteMonoDepthSpan)( GLcontext *ctx,
}
HW_WRITE_UNLOCK();
}
#endif

static void TAG(WriteDepthPixels)( GLcontext *ctx,
GLuint n,

Loading…
Отказ
Запис