stw_wgl_context.h File Reference

Include dependency graph for stw_wgl_context.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  wgl_context

Functions

struct wgl_contextwgl_context_from_hdc (HDC hdc)


Function Documentation

struct wgl_context* wgl_context_from_hdc ( HDC  hdc  )  [read]

Definition at line 278 of file stw_wgl_context.c.

References wgl_context::hdc, and wgl_context::next.

00280 {
00281    struct wgl_context *ctx = ctx_head;
00282 
00283    while (ctx != NULL) {
00284       if (ctx->hdc == hdc)
00285          return ctx;
00286       ctx = ctx->next;
00287    }
00288    return NULL;
00289 }


Generated on Tue Sep 29 06:25:56 2009 for Gallium3D by  doxygen 1.5.4