Hi Robert,<div><br></div><div>I just wanted to thank you again for your quick response.</div><div><br></div><div>I also thought I'd share the workaround that we used to move forward. At best it's only part of the solution, but it was enough for us to recover somewhat gracefully.</div>
<div><br></div><div>The patch was generated from commit 13861b710fc2e78e9f3c6042967817d5da7df9a0 (tag: 1.10.4).</div><div><br></div><div>---</div><div><div> cogl/cogl-texture-2d.c |   14 ++++++++++++++</div><div> 1 files changed, 14 insertions(+), 0 deletions(-)</div>
<div><br></div><div>diff --git a/cogl/cogl-texture-2d.c b/cogl/cogl-texture-2d.c</div><div>index dad1eac..0d7662c 100644</div><div>--- a/cogl/cogl-texture-2d.c</div><div>+++ b/cogl/cogl-texture-2d.c</div><div>@@ -178,6 +178,7 @@ cogl_texture_2d_new_with_size (CoglContext *ctx,</div>
<div>   GLenum                 gl_intformat;</div><div>   GLenum                 gl_format;</div><div>   GLenum                 gl_type;</div><div>+  GLenum                 gl_err;</div><div> </div><div>   /* Since no data, we need some internal format */</div>
<div>   if (internal_format == COGL_PIXEL_FORMAT_ANY)</div><div>@@ -207,6 +208,19 @@ cogl_texture_2d_new_with_size (CoglContext *ctx,</div><div>   GE( ctx, glTexImage2D (GL_TEXTURE_2D, 0, gl_intformat,</div><div>                          width, height, 0, gl_format, gl_type, NULL) );</div>
<div> </div><div>+  while ((gl_err = (ctx)->glGetError ()) != GL_NO_ERROR) </div><div>+    {</div><div>+      g_warning ("%s: GL error creating 2d texture (%d)\n", </div><div>+                 G_STRLOC,</div>
<div>+                 gl_err);</div><div>+      if (tex_2d != NULL) {</div><div>+           _cogl_texture_2d_free (tex_2d);</div><div>+           tex_2d = NULL;</div><div>+      }</div><div>+    }</div><div>+  if (tex_2d == NULL) {</div>
<div>+      return NULL;</div><div>+  }</div><div>   return _cogl_texture_2d_handle_new (tex_2d);</div><div> }</div><div> </div><div>-- </div><div>1.7.3.2</div><div><br></div></div><div> <br><div><br></div></div>