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
















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


int
libglitter_enable_acceleration(uint64_t features, int async, void (*callback)(int r, int e, void *u), void *userdata)
{
	(void) features;
	(void) async;

	/* TODO add support for hardware acceleration */

	if (callback)
		callback(0, 0, userdata);

	return 0;
}