aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_w32_gdi_crtc_destroy.c
blob: 0bbb8e975bf843956c78d4231c240a5fd1579c7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* See LICENSE file for copyright and license details. */
#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);
}