Skip to content

[core] "Closest fullscreen videomode" warning is unavoidable #4355

@Brian-ED

Description

@Brian-ED

I think this LOG_WARNING should be a LOG_INFO

TRACELOG(LOG_WARNING, "SYSTEM: Closest fullscreen videomode: %i x %i", CORE.Window.display.width, CORE.Window.display.height);

because there isn't a way to disable this warning if you start your window with full screen like so:

SetConfigFlags(2);
InitWindow(0,0,"name");

Environment

Desktop, Linux mint, OpenGL version 4.6.

Code Example

#include "raylib.h"
int main ()
{
    SetTraceLogLevel(LOG_WARNING);
    SetConfigFlags(FLAG_FULLSCREEN_MODE);
    InitWindow(0, 0, "");
    CloseWindow();
    return 0;
}

Running gives the warning WARNING: SYSTEM: Closest fullscreen videomode: 1920 x 1080.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions