mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
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:
parent
206677fb3a
commit
1bc1d49abd
@ -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}/)
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user