Jump to content

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Weird brace in D3D11 headers

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Sepiantum   Members   

102
Like
0Likes
Like

Posted 01 February 2012 - 10:09 PM

I was just browsing d3d11.h to look for members inside D3D11_BUFFER_DESC for my encapsulating class, and then I noticed an out of place curly brace inside the header just under the declaration of D3D11_BUFFER_DESC. Does anyone have anything to say about that?

Posted Image
Follow and support my game engine (still in very basic development)? Link

#2 Washu   Senior Moderators   

7801
Like
0Likes
Like

Posted 01 February 2012 - 10:38 PM

see up near the top... there will be something like

#ifdef __cplusplus

extern "C" {

#endif


In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.
ScapeCode - Blog | SlimDX





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.