kwin/plugins/platforms/x11/standalone/glxconvenience.h
Vlad Zahorodnii b338c4cb0e platforms/x11: Move GLXFBConfig selection code in a separate file
This allows reusing the GLXFBConfig selection code.
2021-02-01 18:49:16 +00:00

17 lines
300 B
C++

/*
SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <epoxy/glx.h>
#include <fixx11h.h>
namespace KWin
{
GLXFBConfig chooseGlxFbConfig(Display *display, const int attributes[]);
} // namespace KWin