[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 5/5] wined3d: Call glGetIntegerv() through the gl_info function pointer.
From:       Józef Kucia <joseph.kucia () gmail ! com>
Date:       2016-09-27 7:23:57
Message-ID: CAKF0LCWFp3QOmfj-cpMJW3B-QLJ=aQ5wK772=uideg_L5HfL6A () mail ! gmail ! com
[Download RAW message or body]

On Tue, Sep 27, 2016 at 12:04 AM, Matteo Bruni <mbruni@codeweavers.com> wrote:
> Fixes a1e718ccabc7c330dd16c7face78022965b03e20.
>
> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
> ---
>  dlls/wined3d/directx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
> index 7ab68aa..05e04e8 100644
> --- a/dlls/wined3d/directx.c
> +++ b/dlls/wined3d/directx.c
> @@ -3629,7 +3629,7 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter, DWORD
>
>      if (gl_version >= MAKEDWORD_VERSION(3, 2))
>      {
> -        glGetIntegerv(GL_CONTEXT_PROFILE_MASK, &context_profile);
> +        gl_info->gl_ops.gl.p_glGetIntegerv(GL_CONTEXT_PROFILE_MASK, &context_profile);
>          checkGLcall("Querying context profile");
>      }
>      if (context_profile & GL_CONTEXT_CORE_PROFILE_BIT)

FWIW, there are other places where GL functions aren't called through
gl_ops. I've got patches to fix others.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic