Ignore:
Timestamp:
May 23, 2000, 10:41:28 PM (25 years ago)
Author:
jeroen
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/mesa/wgl.c

    r2977 r3598  
    1 /* $Id: wgl.c,v 1.3 2000-03-02 23:09:21 sandervl Exp $ */
     1/* $Id: wgl.c,v 1.4 2000-05-23 20:41:04 jeroen Exp $ */
    22
    33/*
     
    3030#endif
    3131#include <windows.h>
     32#include <winerror.h>
    3233
    3334#ifdef __cplusplus
     
    3536#endif
    3637
    37 #include <stdio.h>
    38 #include <tchar.h>
    39 #include "gl.h"
     38#include "glheader.h"
    4039#include "types.h"
    4140#include "context.h"
     
    396395
    397396    qt_valid_pix = qt_pix;
    398 //    if(ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR) || ppfd->nVersion != 1)
    399     if(ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR))
     397    if(ppfd->nSize != sizeof(PIXELFORMATDESCRIPTOR) || ppfd->nVersion != 1)
    400398    {
    401399        SetLastError(0);
     
    507505GLAPI BOOL GLWINAPI wglSwapBuffers(HDC hdc)
    508506{
     507_heap_check();
     508
    509509   if (ctx_current < 0)
    510510      return FALSE;
Note: See TracChangeset for help on using the changeset viewer.