OPENGL: Fix cursor regression when defaultFormat doesn't have an alpha channel.
This commit is contained in:
parent
16898486fa
commit
abcadb5d87
2 changed files with 10 additions and 6 deletions
|
@ -174,10 +174,13 @@ private:
|
|||
/**
|
||||
* Create a texture with the specified pixel format.
|
||||
*
|
||||
* @param format The pixel format the Texture object should accept as input.
|
||||
* @param format The pixel format the Texture object should accept as
|
||||
* input.
|
||||
* @param wantAlpha For CLUT8 textures this marks whether an alpha
|
||||
* channel should be used.
|
||||
* @return A pointer to the texture or nullptr on failure.
|
||||
*/
|
||||
Texture *createTexture(const Graphics::PixelFormat &format);
|
||||
Texture *createTexture(const Graphics::PixelFormat &format, bool wantAlpha = false);
|
||||
|
||||
//
|
||||
// Transaction support
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue