aboutsummaryrefslogblamecommitdiffstats
path: root/libgamma_crtc_destroy.c
blob: 61cfe58c032abbe02620a6de0905e3050002db39 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                           
                             








                                                       
/* 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_crtc_destroy(libgamma_crtc_state_t *restrict this)
{
	switch (this->partition->site->method) {
#define X(CONST, CNAME, ...)\
	case CONST:\
		libgamma_##CNAME##_crtc_destroy(this);\
		break;
	LIST_AVAILABLE_METHODS(X)
#undef X
	default:
		break;
	}
}