Pārlūkot izejas kodu

Update to latest bgfx.

woollybah 6 gadi atpakaļ
vecāks
revīzija
83830ad6bb
3 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 1 1
      texturec.mod/source.bmx
  2. 1 1
      texturec.mod/texturec.bmx
  3. 3 3
      texturec.mod/texturec.cpp

+ 1 - 1
texturec.mod/source.bmx

@@ -1,4 +1,4 @@
-' Copyright (c) 2015-2018 Bruce A Henderson
+' Copyright (c) 2015-2019 Bruce A Henderson
 ' All rights reserved.
 ' 
 ' Redistribution and use in source and binary forms, with or without

+ 1 - 1
texturec.mod/texturec.bmx

@@ -1,4 +1,4 @@
-' Copyright (c) 2015-2018 Bruce A Henderson
+' Copyright (c) 2015-2019 Bruce A Henderson
 ' All rights reserved.
 ' 
 ' Redistribution and use in source and binary forms, with or without

+ 3 - 3
texturec.mod/texturec.cpp

@@ -1,6 +1,6 @@
 /*
-  Copyright 2011-2018 Branimir Karadzic.
-  Copyright (c) 2015-2018 Bruce A Henderson
+  Copyright 2011-2019 Branimir Karadzic.
+  Copyright (c) 2015-2019 Bruce A Henderson
   All rights reserved.
 
   Redistribution and use in source and binary forms, with or without
@@ -114,7 +114,7 @@ static void imageRgba32fNormalize(void* _dst, uint32_t _width, uint32_t _height,
 		const float* rgba = (const float*)&src[0];
 		for (uint32_t xx = 0; xx < _width; ++xx, rgba += 4, dst += 16)
 		{
-			const bx::Vec3 xyz = bx::load(rgba);
+			const bx::Vec3 xyz = bx::load<bx::Vec3>(rgba);
 			bx::store(dst, bx::normalize(xyz) );
 		}
 	}