/*
 *  Copyright (C) 2017-2026 Team Kodi
 *  This file is part of Kodi - https://kodi.tv
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 *  See LICENSES/README.md for more information.
 */

#include "RenderBufferPoolDMAOpenGLES.h"

#include "RenderBufferDMAOpenGLES.h"

using namespace KODI;
using namespace RETRO;

CRenderBufferPoolDMAOpenGLES::CRenderBufferPoolDMAOpenGLES(CRenderContext& context)
  : m_context(context)
{
}

IRenderBuffer* CRenderBufferPoolDMAOpenGLES::CreateRenderBuffer(void* header /* = nullptr */)
{
  return new CRenderBufferDMAOpenGLES(m_context, GetFourcc());
}
