Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Created a simpler version of SDL_SetHint() that doesn't need a priority.
  • Loading branch information
slouken committed Feb 6, 2011
1 parent 8938cbf commit b52f716b2b619484a6fe6ff16d66e771ddc2c237

File 1 of 2 in b52f716

@@ -106,17 +106,26 @@ typedef enum


/**
* \brief Set a hint
* \brief Set a hint with a specific priority
*
* The priority controls the behavior when setting a hint that already
* has a value. Hints will replace existing hints of their priority and
* lower. Environment variables are considered to have override priority.
*
* \return SDL_TRUE if the hint was set, SDL_FALSE otherwise
*/
extern DECLSPEC SDL_bool SDLCALL SDL_SetHintWithPriority(const char *name,
const char *value,
SDL_HintPriority priority);

/**
* \brief Set a hint with normal priority
*
* \return SDL_TRUE if the hint was set, SDL_FALSE otherwise
*/
extern DECLSPEC SDL_bool SDLCALL SDL_SetHint(const char *name,
const char *value,
SDL_HintPriority priority);
const char *value);


/**
* \brief Get a hint

0 comments on commit b52f716

Please sign in to comment.