Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

#Actualhdlopesrocha

Posted 12 June 2012 - 12:00 AM

Good news! I solved the problem!

"public short TextureID ;" && "new VertexElement(sizeof (float)*14,VertexElementFormat.Short2,VertexElementUsage.Color,0)"


I changed short to int and there is no problem now!
But I think int is too big for a textureID

#1hdlopesrocha

Posted 11 June 2012 - 11:58 PM

Good news! I solved the problem!

"

public

short

TextureID

;" && "

new

VertexElement

(

sizeof

(

float

)

*

14

,

VertexElementFormat

.

Short2

,

VertexElementUsage

.

Color

,

0

)"



I changed short to int and there is no problem now!
But I think int is too big for a textureID

PARTNERS