aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_w32_gdi_crtc_destroy.c
blob: 886da00b57c95b9a1ac88a89571ee9322e0cb7c4 (plain) (blame)
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(struct libgamma_crtc_state *restrict this)
{
	if (this->data)
		ReleaseDC(NULL, this->data);
}