summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom_sampler.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-06-24 10:56:36 +0900
committerJosé Fonseca <[email protected]>2008-06-24 11:00:01 +0900
commitc921a29b3a696f6fa99b648d6cd975dbcf106429 (patch)
tree30ff344e410f938389add32a6e314f49161aadeb /src/mesa/state_tracker/st_atom_sampler.c
parentc47248bdf8d55f985b199fc6e15b0177305cb6fd (diff)
mesa: Replace abort by asserts.
Diffstat (limited to 'src/mesa/state_tracker/st_atom_sampler.c')
-rw-r--r--src/mesa/state_tracker/st_atom_sampler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_sampler.c b/src/mesa/state_tracker/st_atom_sampler.c
index 9abd0b3531d..1e182eef1c5 100644
--- a/src/mesa/state_tracker/st_atom_sampler.c
+++ b/src/mesa/state_tracker/st_atom_sampler.c
@@ -67,7 +67,7 @@ gl_wrap_to_sp(GLenum wrap)
case GL_MIRROR_CLAMP_TO_BORDER_EXT:
return PIPE_TEX_WRAP_MIRROR_CLAMP_TO_BORDER;
default:
- abort();
+ assert(0);
return 0;
}
}