Skip to content

Misleading documentation #49

@iOrange

Description

@iOrange

The documentation for the function agsDriverExtensionsDX11_CreateDevice says this:
/// \param [in] extensionParams Optional pointer to the struct to specify DX11 additional device creation parameters.
To me this sounds like "if you don't want to specify any additional parameters - you can pass a nullptr here".
But passing a nullptr is causing Access violation reading location 0x0000000000000020
I think using "Optional pointer" here is misleading, and should you better wording specifying that you still need to pass a valid pointer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions