8000 Error handling · Issue #54 · frtru/GemParticles · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Error handling #54
Open
Open
@frtru

Description

@frtru

Useful references:
http://gamedev.stackexchange.com/questions/46424/try-catch-or-ifs-for-error-handling-in-c
http://bitsquid.blogspot.ca/2012/01/sensible-error-handling-part-1.html

  • Adopt an uniform method of handling errors (instead of returning bools at some places and 0xFFFFFFFF at other places...)
  • If keeping the 0xFFFFFFF, use UINT32_MAX instead
  • For shaders it might be a bigger problem if an error occurs, because the program will simply not work properly (in contrast with the textures which is not a big problem for the app itself if they fail)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0