Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
wgl_context.c File Reference
#include "internal.h"
#include <stdlib.h>
#include <malloc.h>
#include <assert.h>
+ Include dependency graph for wgl_context.c:

Go to the source code of this file.

Macros

#define addAttrib(a)
 
#define findAttribValue(a)    findPixelFormatAttribValue(attribs, attribCount, values, a)
 
#define setAttrib(a, v)
 

Functions

GLFWbool _glfwInitWGL (void)
 
void _glfwTerminateWGL (void)
 
GLFWbool _glfwCreateContextWGL (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
GLFWAPI HGLRC glfwGetWGLContext (GLFWwindow *handle)
 

Macro Definition Documentation

◆ addAttrib

#define addAttrib (   a)
Value:
{ \
assert((size_t) attribCount < sizeof(attribs) / sizeof(attribs[0])); \
attribs[attribCount++] = a; \
}

Definition at line 56 of file wgl_context.c.

◆ findAttribValue

#define findAttribValue (   a)     findPixelFormatAttribValue(attribs, attribCount, values, a)

Definition at line 61 of file wgl_context.c.

◆ setAttrib

#define setAttrib (   a,
 
)
Value:
{ \
assert(((size_t) index + 1) < sizeof(attribs) / sizeof(attribs[0])); \
attribs[index++] = a; \
attribs[index++] = v; \
}

Definition at line 536 of file wgl_context.c.

Function Documentation

◆ _glfwCreateContextWGL()

GLFWbool _glfwCreateContextWGL ( _GLFWwindow window,
const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig fbconfig 
)

Definition at line 545 of file wgl_context.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwInitWGL()

GLFWbool _glfwInitWGL ( void  )

Definition at line 410 of file wgl_context.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwTerminateWGL()

void _glfwTerminateWGL ( void  )

Definition at line 530 of file wgl_context.c.

+ Here is the caller graph for this function:

◆ glfwGetWGLContext()

GLFWAPI HGLRC glfwGetWGLContext ( GLFWwindow handle)

Definition at line 785 of file wgl_context.c.

+ Here is the call graph for this function: