https://bugs.freedesktop.org/show_bug.cgi?id=92020

--- Comment #2 from zeif <332447...@qq.com> ---
(In reply to Emil Velikov from comment #1)
> Hi zeif,
> 
> This looks like a user error, rather than a mesa bug.
> 
> Namely, I suspect that you're feeding attrib as defined by some extension,
> without first checking if the latter is available. Is that the case ?
> 
> For example if you want to use WGL_DEPTH_TEXTURE_FORMAT_NV, you should first
> check for the WGL_NV_render_depth_texture extension.





/////////////////////////////////////////////////////////////////

Thx :

I was a rookie at opengl..

But , Android source code do the same things as me.

So, I push mesa to Emulator's folder.

Android Emulator is not work..


/////////////////////////////////////////////////////////////////

// Android source code : 

//http://androidxref.com/4.3_r2.1/xref/sdk/emulator/opengl/host/libs/Translator/EGL/EglWindowsApi.cpp#498



int pbAttribs[] = {
                   WGL_TEXTURE_TARGET_ARB   ,wglTexTarget,
                   WGL_TEXTURE_FORMAT_ARB   ,wglTexFormat,
                   0
                  };

if(!s_wglExtProcs->wglCreatePbufferARB) return NULL;

EGLNativePbufferType pb =
s_wglExtProcs->wglCreatePbufferARB(dpy,cfg->nativeId(),width,height,pbAttribs);

if(!pb) {
    DWORD err = GetLastError();
    return NULL;
}
//////////////////////////////////////////////////////////

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to