aboutsummaryrefslogblamecommitdiffstats
path: root/libgamma_w32_gdi_crtc_destroy.c
blob: c0f2dfe5926df0006fba649837fd54298e20ed71 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
                                                         
                           













                                                                   
/* See LICENSE file for copyright and license details. */
#define IN_LIBGAMMA_W32_GDI
#include "common.h"


/**
 * Release all resources held by a CRTC state
 * 
 * @param  this  The CRTC state
 */
void
libgamma_w32_gdi_crtc_destroy(libgamma_crtc_state_t *restrict this)
{
	if (this->data)
		ReleaseDC(NULL, this->data);
}