st/egl: Fix debug line
authornobled <nobled@dreamwidth.org>
Tue, 8 Jun 2010 13:00:17 +0000 (13:00 +0000)
committerJakob Bornecrantz <jakob@vmware.com>
Mon, 26 Jul 2010 19:27:21 +0000 (12:27 -0700)
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
src/gallium/state_trackers/egl/common/egl_g3d_image.c

index b1fe30a776ccb42bd63b55af107bd33870fea166..1e13cfcf7e9fbdda5bc9ffa3e6614e6986e05c9a 100644 (file)
@@ -78,7 +78,7 @@ egl_g3d_create_image(_EGLDriver *drv, _EGLDisplay *dpy, _EGLContext *ctx,
 
    gimg = CALLOC_STRUCT(egl_g3d_image);
    if (!gimg) {
-      _eglError(EGL_BAD_ALLOC, "eglCreatePbufferSurface");
+      _eglError(EGL_BAD_ALLOC, "eglCreateEGLImageKHR");
       return NULL;
    }