mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-27 10:57:22 +08:00
Removed __FILE__ from source code
This commit is contained in:
@@ -81,7 +81,7 @@ void Android_OnTouch(SDL_Window *window, int touch_device_id_in, int pointer_fin
|
|||||||
fingerId = (SDL_FingerID)(pointer_finger_id_in + 1);
|
fingerId = (SDL_FingerID)(pointer_finger_id_in + 1);
|
||||||
|
|
||||||
if (SDL_AddTouch(touchDeviceId, SDL_TOUCH_DEVICE_DIRECT, "") < 0) {
|
if (SDL_AddTouch(touchDeviceId, SDL_TOUCH_DEVICE_DIRECT, "") < 0) {
|
||||||
SDL_Log("error: can't add touch %s, %d", __FILE__, __LINE__);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (action) {
|
switch (action) {
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ bool HAIKU_SetDisplayMode(SDL_VideoDevice *_this, SDL_VideoDisplay *display, SDL
|
|||||||
// Get the current screen
|
// Get the current screen
|
||||||
BScreen bscreen;
|
BScreen bscreen;
|
||||||
if (!bscreen.IsValid()) {
|
if (!bscreen.IsValid()) {
|
||||||
printf(__FILE__": %d - ERROR: BAD SCREEN\n", __LINE__);
|
return SDL_SetError("Invalid screen");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the mode using the driver data
|
// Set the mode using the driver data
|
||||||
|
|||||||
@@ -55,7 +55,6 @@ static bool _InitWindow(SDL_VideoDevice *_this, SDL_Window *window, SDL_Properti
|
|||||||
|
|
||||||
if (window->flags & SDL_WINDOW_FULLSCREEN) {
|
if (window->flags & SDL_WINDOW_FULLSCREEN) {
|
||||||
// TODO: Add support for this flag
|
// TODO: Add support for this flag
|
||||||
printf(__FILE__": %d!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n",__LINE__);
|
|
||||||
}
|
}
|
||||||
if (window->flags & SDL_WINDOW_OPENGL) {
|
if (window->flags & SDL_WINDOW_OPENGL) {
|
||||||
// TODO: Add support for this flag
|
// TODO: Add support for this flag
|
||||||
|
|||||||
Reference in New Issue
Block a user