-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2014-07-04 00:40, schrieb Andrei Slăvoiu:
+/* See http://developer.amd.com/drivers/pc_vendor_id/Pages/default.aspx
- Beware: renderer string do not match exact card model,
- eg HD 4800 is returned for multiple cards, even for RV790 based ones. */
This link is dead. I recommend to remove it.
static const struct gl_vendor_selection { enum wined3d_gl_vendor gl_vendor; const char *description; /* Description of the card selector i.e. Apple OS/X Intel */
- enum wined3d_pci_device (*select_card)(const char *gl_renderer);
- const struct
- {
const char *renderer;
enum wined3d_pci_device id;
- } *cards; /* To be used as cards[], pointer to the first member in an array */
- size_t nr_cards; /* Number of entries in the array above */
I think it would be nicer to give the structure a name instead of declaring it twice.