mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-14 18:15:28 -04:00
Quick workaround for #594, a real fix will come later. (Thanks igor725)
This commit is contained in:
parent
65ac893238
commit
8fb63080c8
@ -312,7 +312,9 @@ void Drawer2D_MakeTextTexture(struct Texture* tex, struct DrawTextArgs* args, in
|
||||
}
|
||||
|
||||
void Drawer2D_Make2DTexture(struct Texture* tex, Bitmap* bmp, Size2D used, int X, int Y) {
|
||||
tex->ID = Gfx_CreateTexture(bmp, false, false);
|
||||
tex->ID = GFX_NULL;
|
||||
if (!Gfx.LostContext) tex->ID = Gfx_CreateTexture(bmp, false, false);
|
||||
|
||||
tex->X = X; tex->Width = used.Width;
|
||||
tex->Y = Y; tex->Height = used.Height;
|
||||
|
||||
|
@ -11,12 +11,6 @@
|
||||
*/
|
||||
struct Stream;
|
||||
|
||||
typedef enum CompareFunc_ {
|
||||
COMPARE_FUNC_ALWAYS, COMPARE_FUNC_NOTEQUAL, COMPARE_FUNC_NEVER,
|
||||
COMPARE_FUNC_LESS, COMPARE_FUNC_LESSEQUAL, COMPARE_FUNC_EQUAL,
|
||||
COMPARE_FUNC_GREATEREQUAL, COMPARE_FUNC_GREATER
|
||||
} CompareFunc;
|
||||
|
||||
typedef enum VertexFormat_ {
|
||||
VERTEX_FORMAT_P3FC4B, VERTEX_FORMAT_P3FT2FC4B
|
||||
} VertexFormat;
|
||||
|
@ -2858,6 +2858,7 @@ void Window_Create(int x, int y, int width, int height, struct GraphicsMode* mod
|
||||
|
||||
void Window_SetTitle(const String* title) {
|
||||
/* TODO: Implement this somehow */
|
||||
/* Maybe https://stackoverflow.com/questions/2198410/how-to-change-title-of-activity-in-android */
|
||||
}
|
||||
|
||||
void Clipboard_GetText(String* value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user