-- This file was automatically generated.
{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.MESA.ResizeBuffers (
  -- * Extension Support
    gl_MESA_resize_buffers

  -- * GL_MESA_resize_buffers
  , glResizeBuffersMESA
) where

import Control.Monad.IO.Class
import Data.Set
import Foreign.Ptr
import Graphics.GL.Internal.FFI
import Graphics.GL.Internal.Proc
import System.IO.Unsafe

-- | Checks that the <https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/specs/MESA/resize_buffers.txt GL_MESA_resize_buffers> extension is available.

gl_MESA_resize_buffers :: Bool
gl_MESA_resize_buffers :: Bool
gl_MESA_resize_buffers = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_MESA_resize_buffers" Set [Char]
extensions
{-# NOINLINE gl_MESA_resize_buffers #-}

-- | Usage: @'glResizeBuffersMESA'@


glResizeBuffersMESA :: MonadIO m => m ()
glResizeBuffersMESA :: m ()
glResizeBuffersMESA = FunPtr (IO ()) -> m ()
forall (m :: * -> *). MonadIO m => FunPtr (IO ()) -> m ()
ffiIOV FunPtr (IO ())
glResizeBuffersMESAFunPtr

glResizeBuffersMESAFunPtr :: FunPtr (IO ())
glResizeBuffersMESAFunPtr :: FunPtr (IO ())
glResizeBuffersMESAFunPtr = IO (FunPtr (IO ())) -> FunPtr (IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glResizeBuffersMESA")

{-# NOINLINE glResizeBuffersMESAFunPtr #-}