SetDrawColor() and SetDrawBlendMode() are optional
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403389
This commit is contained in:
parent
b876226c2f
commit
3fc02a176b
7 changed files with 25 additions and 89 deletions
|
@ -71,8 +71,6 @@ static void DirectFB_UnlockTexture(SDL_Renderer * renderer,
|
|||
static void DirectFB_DirtyTexture(SDL_Renderer * renderer,
|
||||
SDL_Texture * texture, int numrects,
|
||||
const SDL_Rect * rects);
|
||||
static int DirectFB_SetDrawColor(SDL_Renderer * renderer);
|
||||
static int DirectFB_SetDrawBlendMode(SDL_Renderer * renderer);
|
||||
static int DirectFB_RenderPoint(SDL_Renderer * renderer, int x, int y);
|
||||
static int DirectFB_RenderLine(SDL_Renderer * renderer, int x1, int y1,
|
||||
int x2, int y2);
|
||||
|
@ -294,8 +292,6 @@ DirectFB_CreateRenderer(SDL_Window * window, Uint32 flags)
|
|||
renderer->LockTexture = DirectFB_LockTexture;
|
||||
renderer->UnlockTexture = DirectFB_UnlockTexture;
|
||||
renderer->DirtyTexture = DirectFB_DirtyTexture;
|
||||
renderer->SetDrawColor = DirectFB_SetDrawColor;
|
||||
renderer->SetDrawBlendMode = DirectFB_SetDrawBlendMode;
|
||||
renderer->RenderPoint = DirectFB_RenderPoint;
|
||||
renderer->RenderLine = DirectFB_RenderLine;
|
||||
renderer->RenderFill = DirectFB_RenderFill;
|
||||
|
@ -797,18 +793,6 @@ DirectFB_DirtyTexture(SDL_Renderer * renderer, SDL_Texture * texture,
|
|||
}
|
||||
}
|
||||
|
||||
static int
|
||||
DirectFB_SetDrawColor(SDL_Renderer * renderer)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
DirectFB_SetDrawBlendMode(SDL_Renderer * renderer)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
PrepareDraw(SDL_Renderer * renderer)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue