improved formatting of exacts

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@479 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2007-03-02 04:40:31 +00:00
parent 206677fb3a
commit 1bc1d49abd
3 changed files with 9 additions and 7 deletions

View File

@ -35,7 +35,9 @@ sub prefix_varname($)
sub make_exact($)
{
return "$_[0]"
my $exact = $_[0];
$exact =~ s/(; |{)/$1\n/g;
return $exact;
}
sub make_separator($)
@ -90,7 +92,7 @@ sub parse_ext($)
{
if (/$regex{exact}/)
{
push @exacts, $_;
push @exacts, $_;
}
elsif (/$regex{type}/)
{

View File

@ -76,5 +76,5 @@ GLX_VERSION_1_3
typedef XID GLXPbuffer
typedef XID GLXFBConfigID
typedef struct __GLXFBConfigRec *GLXFBConfig
typedef struct { int event_type; int draw_type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; unsigned int buffer_mask; unsigned int aux_buffer; int x, y; int width, height; int count; } GLXPbufferClobberEvent
typedef union __GLXEvent { GLXPbufferClobberEvent glxpbufferclobber; long pad[24]; } GLXEvent
typedef struct { int event_type; int draw_type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; unsigned int buffer_mask; unsigned int aux_buffer; int x, y; int width, height; int count; } GLXPbufferClobberEvent;
typedef union __GLXEvent { GLXPbufferClobberEvent glxpbufferclobber; long pad[24]; } GLXEvent;

View File

@ -2,10 +2,10 @@ WGL_NV_gpu_affinity
http://developer.download.nvidia.com/opengl/specs/WGL_nv_gpu_affinity.txt
WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0
WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1
BOOL wglEnumGpusNV (UINT iGpuIndex,HGPUNV *phGpu)
BOOL wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu)
BOOL wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice)
HDC wglCreateAffinityDCNV (const HGPUNV *phGpuList)
BOOL wglEnumGpusFromAffinityDCNV(HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu)
BOOL wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu)
BOOL wglDeleteDCNV (HDC hdc)
DECLARE_HANDLE(HGPUNV);
typedef struct _GPU_DEVICE { DWORD cb; CHAR DeviceName[32]; CHAR DeviceString[128]; DWORD Flags; RECT rcVirtualScreen; } GPU_DEVICE, *PGPU_DEVICE;
typedef struct _GPU_DEVICE { DWORD cb; CHAR DeviceName[32]; CHAR DeviceString[128]; DWORD Flags; RECT rcVirtualScreen; } GPU_DEVICE, *PGPU_DEVICE;